10 #if !defined(KRATOS_LOAD_CONDITION_H_INCLUDED)
11 #define KRATOS_LOAD_CONDITION_H_INCLUDED
21 #include "custom_utilities/solid_mechanics_math_utilities.hpp"
46 class KRATOS_API(SOLID_MECHANICS_APPLICATION) LoadCondition
47 :
public BoundaryCondition
96 PropertiesType::Pointer pProperties )
const override;
106 Condition::Pointer Clone(
IndexType NewId,
118 int Check(
const ProcessInfo& rCurrentProcessInfo )
const override;
152 if(rVariable == ROTATION)
161 void InitializeConditionVariables(ConditionVariables& rVariables,
167 virtual void CalculateExternalLoad(ConditionVariables& rVariables);
173 void CalculateAndAddExternalForces(
Vector& rRightHandSideVector,
174 ConditionVariables& rVariables,
175 double& rIntegrationWeight)
override;
181 double& CalculateAndAddExternalEnergy(
double& rEnergy,
182 ConditionVariables& rVariables,
183 double& rIntegrationWeight,
221 void save(
Serializer& rSerializer)
const override;
virtual bool HasVariableDof(VariableVectorType &rVariable) const
Definition: boundary_condition.cpp:96
std::size_t IndexType
Definition: flags.h:74
std::size_t SizeType
Definition: geometry_data.h:173
Condition for basic load types.
Definition: load_condition.h:36
LoadCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Condition::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(LoadCondition)
LoadCondition()
Empty constructor needed for serialization.
~LoadCondition() override
Destructor.
GeometryData::SizeType SizeType
Type for size.
Definition: load_condition.hpp:55
LoadCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Default constructor.
bool HasVariableDof(VariableVectorType &rVariable) const override
Definition: load_condition.hpp:150
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
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307