16 #if !defined(KRATOS_GEO_U_PW_CONDITION_H_INCLUDED )
17 #define KRATOS_GEO_U_PW_CONDITION_H_INCLUDED
35 template<
unsigned int TDim,
unsigned int TNumNodes >
48 GeometryType::Pointer pGeometry )
53 GeometryType::Pointer pGeometry,
54 PropertiesType::Pointer pProperties )
55 :
Condition(NewId, pGeometry, pProperties)
64 PropertiesType::Pointer pProperties )
const override;
67 const ProcessInfo& rCurrentProcessInfo)
const override;
71 return mThisIntegrationMethod;
76 mThisIntegrationMethod = method;
81 void CalculateLocalSystem(
MatrixType& rLeftHandSideMatrix,
85 void CalculateLeftHandSide(
MatrixType& rLeftHandSideMatrix,
88 void CalculateRightHandSide(
VectorType& rRightHandSideVector,
91 void EquationIdVector(EquationIdVectorType& rResult,
92 const ProcessInfo& rCurrentProcessInfo)
const override;
97 virtual void CalculateAll(
MatrixType& rLeftHandSideMatrix,
101 virtual void CalculateRHS(
VectorType& rRightHandSideVector,
113 void save(
Serializer& rSerializer)
const override
Base class for all Conditions.
Definition: condition.h:59
std::vector< DofType::Pointer > DofsVectorType
Definition: condition.h:100
virtual IntegrationMethod GetIntegrationMethod() const
Definition: condition.h:288
std::size_t IndexType
Definition: flags.h:74
IntegrationMethod
Definition: geometry_data.h:76
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Definition: U_Pw_condition.hpp:37
IntegrationMethod GetIntegrationMethod() const override
Definition: U_Pw_condition.hpp:69
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(UPwCondition)
UPwCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Definition: U_Pw_condition.hpp:47
UPwCondition()
Definition: U_Pw_condition.hpp:45
UPwCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Definition: U_Pw_condition.hpp:52
void SetIntegrationMethod(IntegrationMethod method)
Definition: U_Pw_condition.hpp:74
~UPwCondition() override=default
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307