10 #if !defined(KRATOS_STATIC_SCHEME_H_INCLUDED)
11 #define KRATOS_STATIC_SCHEME_H_INCLUDED
39 template<
class TSparseSpace,
class TDenseSpace >
72 :
BaseType(rTimeVectorIntegrationMethods, rOptions)
78 :
BaseType(rTimeVectorIntegrationMethods)
85 :
BaseType(rTimeScalarIntegrationMethods, rOptions)
91 :
BaseType(rTimeScalarIntegrationMethods)
99 :
BaseType(rTimeVectorIntegrationMethods, rTimeScalarIntegrationMethods, rOptions)
106 :
BaseType(rTimeVectorIntegrationMethods, rTimeScalarIntegrationMethods)
220 KRATOS_ERROR <<
"insufficient buffer size. Buffer size should be greater than 2. Current size is" << rModelPart.
GetBufferSize() << std::endl;
224 KRATOS_ERROR <<
"Time integration methods for Vector or Scalar variables NOT supplied" << std::endl;
245 std::string
Info()
const override
247 std::stringstream buffer;
248 buffer <<
"StaticScheme";
255 rOStream <<
"StaticScheme";
261 rOStream <<
"StaticScheme Data";
std::vector< DofType::Pointer > DofsVectorType
Definition: element.h:100
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
MeshType::ConditionsContainerType ConditionsContainerType
Condintions container. A vector set of Conditions with their Id's as key.
Definition: model_part.h:183
MeshType::ElementsContainerType ElementsContainerType
Element container. A vector set of Elements with their Id's as key.
Definition: model_part.h:168
IndexType GetBufferSize() const
This method gets the suffer size of the model part database.
Definition: model_part.h:1876
MeshType::NodesContainerType NodesContainerType
Nodes container. Which is a vector set of nodes with their Id's as key.
Definition: model_part.h:128
This class defines the node.
Definition: node.h:65
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
Solution scheme base class.
Definition: solution_scheme.hpp:54
virtual void UpdateDofs(ModelPart &rModelPart, DofsArrayType &rDofSet, SystemVectorType &rDx)
Performing the update of the solution Dofs.
Definition: solution_scheme.hpp:421
std::vector< IntegrationScalarPointerType > IntegrationMethodsScalarType
Definition: solution_scheme.hpp:83
virtual int Check(ModelPart &rModelPart)
This function is designed to be called once to perform all the checks needed.
Definition: solution_scheme.hpp:565
SolutionSchemeType::Pointer SolutionSchemePointerType
Definition: solution_scheme.hpp:60
virtual void MoveMesh(ModelPart &rModelPart)
This function is designed to move the mesh.
Definition: solution_scheme.hpp:499
TDenseSpace::MatrixType LocalSystemMatrixType
Definition: solution_scheme.hpp:66
virtual void Initialize(ModelPart &rModelPart)
Performs all the required operations that should be done (for each step) before solving the solution ...
Definition: solution_scheme.hpp:172
virtual void PredictVariables(ModelPart &rModelPart)
Performing the prediction of the solution variables.
Definition: solution_scheme.hpp:471
TDenseSpace::VectorType LocalSystemVectorType
Definition: solution_scheme.hpp:67
TSparseSpace::MatrixType SystemMatrixType
Definition: solution_scheme.hpp:64
IntegrationMethodsVectorType mTimeVectorIntegrationMethods
Definition: solution_scheme.hpp:800
TSparseSpace::VectorType SystemVectorType
Definition: solution_scheme.hpp:65
virtual void UpdateVariables(ModelPart &rModelPart)
Performing the update of the solution variables.
Definition: solution_scheme.hpp:441
std::vector< IntegrationVectorPointerType > IntegrationMethodsVectorType
Definition: solution_scheme.hpp:78
Static integration scheme (for static problems)
Definition: static_scheme.hpp:41
BaseType::SolutionSchemePointerType BasePointerType
Definition: static_scheme.hpp:49
BaseType::SystemMatrixType SystemMatrixType
Definition: static_scheme.hpp:54
void Initialize(ModelPart &rModelPart) override
Definition: static_scheme.hpp:137
ModelPart::NodesContainerType NodesContainerType
Definition: static_scheme.hpp:59
void Update(ModelPart &rModelPart, DofsArrayType &rDofSet, SystemVectorType &rDx) override
Definition: static_scheme.hpp:153
StaticScheme(IntegrationMethodsVectorType &rTimeVectorIntegrationMethods, IntegrationMethodsScalarType &rTimeScalarIntegrationMethods, Flags &rOptions)
Constructor.
Definition: static_scheme.hpp:96
BaseType::IntegrationMethodsScalarType IntegrationMethodsScalarType
Definition: static_scheme.hpp:64
BaseType::IntegrationMethodsVectorType IntegrationMethodsVectorType
Definition: static_scheme.hpp:63
BaseType::DofsArrayType DofsArrayType
Definition: static_scheme.hpp:52
Element::DofsVectorType DofsVectorType
Definition: static_scheme.hpp:53
StaticScheme(IntegrationMethodsScalarType &rTimeScalarIntegrationMethods)
Constructor.
Definition: static_scheme.hpp:90
StaticScheme(StaticScheme &rOther)
Copy Constructor.
Definition: static_scheme.hpp:111
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: static_scheme.hpp:259
BaseType::LocalSystemVectorType LocalSystemVectorType
Definition: static_scheme.hpp:56
StaticScheme(IntegrationMethodsVectorType &rTimeVectorIntegrationMethods)
Constructor.
Definition: static_scheme.hpp:77
StaticScheme(IntegrationMethodsScalarType &rTimeScalarIntegrationMethods, Flags &rOptions)
Constructor.
Definition: static_scheme.hpp:84
BaseType::LocalSystemMatrixType LocalSystemMatrixType
Definition: static_scheme.hpp:57
void Predict(ModelPart &rModelPart, DofsArrayType &rDofSet, SystemVectorType &rDx) override
Definition: static_scheme.hpp:173
ModelPart::ElementsContainerType ElementsContainerType
Definition: static_scheme.hpp:60
KRATOS_CLASS_POINTER_DEFINITION(StaticScheme)
StaticScheme(IntegrationMethodsVectorType &rTimeVectorIntegrationMethods, Flags &rOptions)
Constructor.
Definition: static_scheme.hpp:71
StaticScheme(IntegrationMethodsVectorType &rTimeVectorIntegrationMethods, IntegrationMethodsScalarType &rTimeScalarIntegrationMethods)
Constructor.
Definition: static_scheme.hpp:104
ModelPart::ConditionsContainerType ConditionsContainerType
Definition: static_scheme.hpp:61
BaseType::NodeType NodeType
Definition: static_scheme.hpp:51
BaseType::SystemVectorType SystemVectorType
Definition: static_scheme.hpp:55
std::string Info() const override
Turn back information as a string.
Definition: static_scheme.hpp:245
int Check(ModelPart &rModelPart) override
Definition: static_scheme.hpp:194
~StaticScheme() override
Destructor.
Definition: static_scheme.hpp:123
SolutionScheme< TSparseSpace, TDenseSpace > BaseType
Definition: static_scheme.hpp:48
BasePointerType Clone() override
Clone.
Definition: static_scheme.hpp:117
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: static_scheme.hpp:253
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
#define KRATOS_ERROR
Definition: exception.h:161
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21