KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
modeler_factory.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 
11 
12 #if !defined(KRATOS_MODELER_FACTORY_H_INCLUDED )
13 #define KRATOS_MODELER_FACTORY_H_INCLUDED
14 
15 
16 // System includes
17 
18 // External includes
19 
20 // Project includes
22 #include "modeler/modeler.h"
23 
24 namespace Kratos
25 {
28 
30 namespace ModelerFactory
31 {
32 
34  bool KRATOS_API(KRATOS_CORE) Has(const std::string& ModelerName);
35 
37  typename Modeler::Pointer KRATOS_API(KRATOS_CORE) Create(
38  const std::string& ModelerName, Model& rModel, const Parameters ModelParameters);
39 
40 }
41 
42 } // namespace Kratos.
43 
44 #endif // KRATOS_MODELER_FACTORY_H_INCLUDED defined
45 
This class aims to manage different model parts across multi-physics simulations.
Definition: model.h:60
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
#define KRATOS_API(...)
Definition: kratos_export_api.h:40
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
bool Has(const std::string &ModelerName)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:24
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21