16 #include <unordered_map>
25 #include "utilities/geometry_utilities.h"
50 template<
class TContainerType>
51 std::vector<std::string> GetDofsListFromGenericEntitiesSpecifications(
const TContainerType& rContainer);
53 static std::unordered_map<std::string, GeometryData::KratosGeometryType> GenerateStringGeometryMap()
55 std::unordered_map<std::string, GeometryData::KratosGeometryType> my_map;
64 static std::unordered_map<std::string, GeometryData::KratosGeometryType> string_geometry_map = GenerateStringGeometryMap();
67 static std::unordered_map<std::string, std::size_t> string_dimension_map = {
129 static void AddMissingVariables(
ModelPart& rModelPart);
136 static void AddMissingVariablesFromEntitiesList(
147 static void AddMissingVariablesFromSpecifications(
150 const std::string EntityName =
"NOT_DEFINED"
157 static void AddMissingDofs(
ModelPart& rModelPart);
164 static void AddMissingDofsFromEntitiesList(
175 static void AddMissingDofsFromSpecifications(
178 const std::string EntityName =
"NOT_DEFINED"
185 static std::vector<std::string> GetDofsListFromSpecifications(
const ModelPart& rModelPart);
191 static std::vector<std::string> GetDofsListFromElementsSpecifications(
const ModelPart& rModelPart);
197 static std::vector<std::string> GetDofsListFromConditionsSpecifications(
const ModelPart& rModelPart);
203 static void DetermineFlagsUsed(
const ModelPart& rModelPart);
210 static std::vector<std::string> DetermineTimeIntegration(
const ModelPart& rModelPart);
217 static std::string DetermineFramework(
const ModelPart& rModelPart);
224 static bool DetermineSymmetricLHS(
const ModelPart& rModelPart);
231 static bool DeterminePositiveDefiniteLHS(
const ModelPart& rModelPart);
238 static bool DetermineIfCompatibleGeometries(
const ModelPart& rModelPart);
245 static bool DetermineIfRequiresTimeIntegration(
const ModelPart& rModelPart);
252 static bool CheckCompatibleConstitutiveLaws(
const ModelPart& rModelPart);
259 static int CheckGeometricalPolynomialDegree(
const ModelPart& rModelPart);
KratosGeometryType
Definition: geometry_data.h:110
static std::string GetGeometryName(const GeometryData::KratosGeometryType TypeOfGeometry)
This function returns a string equivalent for the geometry type.
Definition: geometry_utilities.cpp:25
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
This namespace includes several utilities necessaries for evaluate specifications.
Definition: specifications_utilities.h:80
Framework
This enum defines a "hash" used to identify if Lagrangian/Eulerian or ALE framework is considered.
Definition: specifications_utilities.h:102
TimeIntegration
This enum defines a "hash" used to identify if implicit/explicit or static time integration is consid...
Definition: specifications_utilities.h:92
SpecificationsUtilities()=delete
The default constructor.
KRATOS_CLASS_POINTER_DEFINITION(SpecificationsUtilities)
Counted pointer of SpecificationsUtilities.
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
type
Definition: generate_gid_list_file.py:35
integer i
Definition: TensorModule.f:17