diff --git a/Applications/ApplicationsLib/ProjectData.cpp b/Applications/ApplicationsLib/ProjectData.cpp index 8c02236fc3aa298dd752533eee5831118b46fe72..8d2a41815e44652499da09925ca09937383cc3da 100644 --- a/Applications/ApplicationsLib/ProjectData.cpp +++ b/Applications/ApplicationsLib/ProjectData.cpp @@ -122,6 +122,11 @@ std::unique_ptr<MeshLib::Mesh> readSingleMesh( mesh_file.c_str()); } +#ifdef DOXYGEN_DOCU_ONLY + //! \ogs_file_attr{prj__meshes__mesh__axially_symmetric} + mesh_config_parameter.getConfigAttributeOptional<bool>("axially_symmetric"); +#endif // DOXYGEN_DOCU_ONLY + if (auto const axially_symmetric = //! \ogs_file_attr{prj__mesh__axially_symmetric} mesh_config_parameter.getConfigAttributeOptional<bool>( diff --git a/Documentation/ProjectFile/prj/meshes/i_meshes.md b/Documentation/ProjectFile/prj/meshes/i_meshes.md new file mode 100644 index 0000000000000000000000000000000000000000..83466e46826b8815c9a4ba50fcc668ee572af827 --- /dev/null +++ b/Documentation/ProjectFile/prj/meshes/i_meshes.md @@ -0,0 +1 @@ +External mesh file names for the process variables and the boundary conditions. diff --git a/Documentation/ProjectFile/prj/meshes/mesh/a_axially_symmetric.md b/Documentation/ProjectFile/prj/meshes/mesh/a_axially_symmetric.md new file mode 100644 index 0000000000000000000000000000000000000000..576add64edccf5d980a0ff86143dc43a7109a788 --- /dev/null +++ b/Documentation/ProjectFile/prj/meshes/mesh/a_axially_symmetric.md @@ -0,0 +1 @@ +\ogs_missing_documentation diff --git a/Documentation/ProjectFile/prj/meshes/mesh/i_mesh.md b/Documentation/ProjectFile/prj/meshes/mesh/i_mesh.md new file mode 100644 index 0000000000000000000000000000000000000000..11ed78b9ec0b7e61c6f2e191a45b0cd5a8cb48f5 --- /dev/null +++ b/Documentation/ProjectFile/prj/meshes/mesh/i_mesh.md @@ -0,0 +1 @@ +Information about input mesh. diff --git a/Documentation/ProjectFile/prj/process_variables/process_variable/boundary_conditions/boundary_condition/NonuniformDirichlet/t_mesh.md b/Documentation/ProjectFile/prj/process_variables/process_variable/boundary_conditions/boundary_condition/NonuniformDirichlet/t_mesh.md deleted file mode 100644 index b448b3494b3b8e6e94b50a58ec0e10733171e06e..0000000000000000000000000000000000000000 --- a/Documentation/ProjectFile/prj/process_variables/process_variable/boundary_conditions/boundary_condition/NonuniformDirichlet/t_mesh.md +++ /dev/null @@ -1,8 +0,0 @@ -Path to the surface mesh vtu file. - -The surface mesh must contain a nodal integer-valued field (unsigned 64bit) -named \c OriginalSubsurfaceNodeIDs. That field establishes the mapping between -the nodes of the surface mesh to some notes in the bulk mesh. -\warning It is not checked if the surface mesh and the bulk mesh correspond to each -other; in particular it is not checked if surface and bulk nodes coincide and if -surface elements coincide with the faces of bulk elements. diff --git a/Documentation/ProjectFile/prj/process_variables/process_variable/boundary_conditions/boundary_condition/NonuniformNeumann/t_mesh.md b/Documentation/ProjectFile/prj/process_variables/process_variable/boundary_conditions/boundary_condition/NonuniformNeumann/t_mesh.md deleted file mode 100644 index b448b3494b3b8e6e94b50a58ec0e10733171e06e..0000000000000000000000000000000000000000 --- a/Documentation/ProjectFile/prj/process_variables/process_variable/boundary_conditions/boundary_condition/NonuniformNeumann/t_mesh.md +++ /dev/null @@ -1,8 +0,0 @@ -Path to the surface mesh vtu file. - -The surface mesh must contain a nodal integer-valued field (unsigned 64bit) -named \c OriginalSubsurfaceNodeIDs. That field establishes the mapping between -the nodes of the surface mesh to some notes in the bulk mesh. -\warning It is not checked if the surface mesh and the bulk mesh correspond to each -other; in particular it is not checked if surface and bulk nodes coincide and if -surface elements coincide with the faces of bulk elements. diff --git a/Documentation/ProjectFile/prj/process_variables/process_variable/boundary_conditions/boundary_condition/t_mesh.md b/Documentation/ProjectFile/prj/process_variables/process_variable/boundary_conditions/boundary_condition/t_mesh.md new file mode 100644 index 0000000000000000000000000000000000000000..4a4b6835fe9820798cb7e1ad0185f45bbc4bc4dd --- /dev/null +++ b/Documentation/ProjectFile/prj/process_variables/process_variable/boundary_conditions/boundary_condition/t_mesh.md @@ -0,0 +1,10 @@ +Name of the surface mesh where the boundary condition will be defined. + +The surface mesh must contain a nodal integer-valued field (unsigned 64bit) +named \c bulk_node_ids, and a cell field named \c bulk_element_ids. These fields +establish the mapping between the nodes of the surface mesh to the nodes in the +bulk mesh. + +\warning It is not checked if the surface mesh and the bulk mesh +correspond to each other; in particular it is not checked if surface and bulk +nodes coincide and if surface elements coincide with the faces of bulk elements. diff --git a/Documentation/ProjectFile/prj/process_variables/process_variable/source_terms/source_term/t_mesh.md b/Documentation/ProjectFile/prj/process_variables/process_variable/source_terms/source_term/t_mesh.md new file mode 100644 index 0000000000000000000000000000000000000000..e43f1eb6a0a6b37d38c5d44e3540fcc0faea4e75 --- /dev/null +++ b/Documentation/ProjectFile/prj/process_variables/process_variable/source_terms/source_term/t_mesh.md @@ -0,0 +1,10 @@ +Name of the mesh where the source term will be applied. + +The surface mesh must contain a nodal integer-valued field (unsigned 64bit) +named \c bulk_node_ids, and a cell field named \c bulk_element_ids. These fields +establish the mapping between the nodes of the surface mesh to the nodes in the +bulk mesh. + +\warning It is not checked if the surface mesh and the bulk mesh +correspond to each other; in particular it is not checked if surface and bulk +nodes coincide and if surface elements coincide with the faces of bulk elements. diff --git a/Documentation/ProjectFile/prj/process_variables/process_variable/t_mesh.md b/Documentation/ProjectFile/prj/process_variables/process_variable/t_mesh.md new file mode 100644 index 0000000000000000000000000000000000000000..591ede39bca8e13c56ad8dc36995b4dcb888eb90 --- /dev/null +++ b/Documentation/ProjectFile/prj/process_variables/process_variable/t_mesh.md @@ -0,0 +1 @@ +A mesh name for the process variable's domain of definition. diff --git a/ProcessLib/ProcessVariable.cpp b/ProcessLib/ProcessVariable.cpp index 679261b1f92758af4e7bafb669771d495dfb1102..7525dfe08b9c880aa3bcf5b915b1a476a8143f3d 100644 --- a/ProcessLib/ProcessVariable.cpp +++ b/ProcessLib/ProcessVariable.cpp @@ -30,6 +30,12 @@ MeshLib::Mesh const& findMeshInConfig( // std::string mesh_name; // Either given directly in <mesh> or constructed // from <geometrical_set>_<geometry>. + +#ifdef DOXYGEN_DOCU_ONLY + //! \ogs_file_param{prj__process_variables__process_variable__source_terms__source_term__mesh} + config.getConfigParameterOptional<std::string>("mesh"); +#endif // DOXYGEN_DOCU_ONLY + auto optional_mesh_name = //! \ogs_file_param{prj__process_variables__process_variable__boundary_conditions__boundary_condition__mesh} config.getConfigParameterOptional<std::string>("mesh"); @@ -40,6 +46,14 @@ MeshLib::Mesh const& findMeshInConfig( else { // Looking for the mesh created before for the given geometry. + +#ifdef DOXYGEN_DOCU_ONLY + //! \ogs_file_param{prj__process_variables__process_variable__source_terms__source_term__geometrical_set} + config.getConfigParameterOptional<std::string>("geometrical_set"); + //! \ogs_file_param{prj__process_variables__process_variable__source_terms__source_term__geometry} + config.getConfigParameter<std::string>("geometry"); +#endif // DOXYGEN_DOCU_ONLY + auto const geometrical_set_name = //! \ogs_file_param{prj__process_variables__process_variable__boundary_conditions__boundary_condition__geometrical_set} config.getConfigParameter<std::string>("geometrical_set");