8 #if !defined(KRATOS_FREE_SURFACE_CONDITION_H_INCLUDED )
9 #define KRATOS_FREE_SURFACE_CONDITION_H_INCLUDED
26 template<
unsigned int TDim,
unsigned int TNumNodes >
101 void save(
Serializer& rSerializer)
const override
Base class for all Conditions.
Definition: condition.h:59
std::vector< std::size_t > EquationIdVectorType
Definition: condition.h:98
std::vector< DofType::Pointer > DofsVectorType
Definition: condition.h:100
std::size_t IndexType
Definition: flags.h:74
Definition: free_surface_condition.hpp:28
GeometryData::IntegrationMethod mThisIntegrationMethod
Definition: free_surface_condition.hpp:81
FreeSurfaceCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Definition: free_surface_condition.hpp:48
Vector VectorType
Definition: free_surface_condition.hpp:39
void CalculateAll(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo)
Definition: free_surface_condition.cpp:127
Node NodeType
Definition: free_surface_condition.hpp:36
void CalculateLeftHandSide(MatrixType &rLeftHandSideMatrix, const ProcessInfo &rCurrentProcessInfo) override
Definition: free_surface_condition.cpp:68
KRATOS_CLASS_POINTER_DEFINITION(FreeSurfaceCondition)
FreeSurfaceCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Definition: free_surface_condition.hpp:51
void EquationIdVector(EquationIdVectorType &rResult, const ProcessInfo &rCurrentProcessInfo) const override
Definition: free_surface_condition.cpp:106
Geometry< NodeType >::PointsArrayType NodesArrayType
Definition: free_surface_condition.hpp:38
virtual void CalculateLHS(MatrixType &rLeftHandSideMatrix, const ProcessInfo &rCurrentProcessInfo)
Definition: free_surface_condition.cpp:137
FreeSurfaceCondition()
Definition: free_surface_condition.hpp:45
std::size_t IndexType
Definition: free_surface_condition.hpp:34
virtual void CalculateRHS(VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo)
Definition: free_surface_condition.cpp:182
Condition::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
It creates a new condition pointer.
Definition: free_surface_condition.cpp:15
Matrix MatrixType
Definition: free_surface_condition.hpp:40
void CalculateIntegrationCoefficient(double &rIntegrationCoefficient, const Matrix &Jacobian, const double &weight)
void GetDofList(DofsVectorType &rConditionDofList, const ProcessInfo &rCurrentProcessInfo) const override
Definition: free_surface_condition.cpp:23
void CalculateLocalSystem(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: free_surface_condition.cpp:44
Geometry< NodeType > GeometryType
Definition: free_surface_condition.hpp:37
virtual ~FreeSurfaceCondition()
Definition: free_surface_condition.hpp:57
Properties PropertiesType
Definition: free_surface_condition.hpp:35
void CalculateRightHandSide(VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: free_surface_condition.cpp:87
GeometryType & GetGeometry()
Returns the reference of the geometry.
Definition: geometrical_object.h:158
IntegrationMethod
Definition: geometry_data.h:76
Geometry base class.
Definition: geometry.h:71
IntegrationMethod GetDefaultIntegrationMethod() const
Definition: geometry.h:2004
This class defines the node.
Definition: node.h:65
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
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
std::size_t IndexType
The definition of the index type.
Definition: key_hash.h:35
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307