9 #if !defined(KRATOS_WAVE_EQUATION_ELEMENT_H_INCLUDED )
10 #define KRATOS_WAVE_EQUATION_ELEMENT_H_INCLUDED
25 template<
unsigned int TDim,
unsigned int TNumNodes >
57 Element::Pointer
Create(
IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties)
const override;
105 void save(
Serializer& rSerializer)
const override
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Base class for all Elements.
Definition: element.h:60
std::vector< DofType::Pointer > DofsVectorType
Definition: element.h:100
Matrix MatrixType
Definition: element.h:90
std::vector< std::size_t > EquationIdVectorType
Definition: element.h:98
std::size_t IndexType
Definition: flags.h:74
GeometryType & GetGeometry()
Returns the reference of the geometry.
Definition: geometrical_object.h:158
IntegrationMethod
Definition: geometry_data.h:76
IntegrationMethod GetDefaultIntegrationMethod() const
Definition: geometry.h:2004
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: wave_equation_element.hpp:27
void EquationIdVector(EquationIdVectorType &rResult, const ProcessInfo &rCurrentProcessInfo) const override
Definition: wave_equation_element.cpp:98
int Check(const ProcessInfo &rCurrentProcessInfo) const override
Definition: wave_equation_element.cpp:32
WaveEquationElement(IndexType NewId, GeometryType::Pointer pGeometry)
Constructor using Geometry.
Definition: wave_equation_element.hpp:42
void GetFirstDerivativesVector(Vector &rValues, int Step=0) const override
Definition: wave_equation_element.cpp:201
GeometryData::IntegrationMethod mThisIntegrationMethod
Member Variables.
Definition: wave_equation_element.hpp:85
virtual ~WaveEquationElement()
Destructor.
Definition: wave_equation_element.hpp:51
void CalculateAll(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo)
Definition: wave_equation_element.cpp:238
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
Definition: wave_equation_element.cpp:16
WaveEquationElement(IndexType NewId, const NodesArrayType &ThisNodes)
Constructor using an array of nodes.
Definition: wave_equation_element.hpp:39
void CalculateLeftHandSide(MatrixType &rLeftHandSideMatrix, const ProcessInfo &rCurrentProcessInfo) override
Definition: wave_equation_element.cpp:144
void GetValuesVector(Vector &rValues, int Step=0) const override
Definition: wave_equation_element.cpp:182
WaveEquationElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Constructor using Properties.
Definition: wave_equation_element.hpp:45
void CalculateRHS(VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo)
Definition: wave_equation_element.cpp:297
void GetSecondDerivativesVector(Vector &rValues, int Step=0) const override
Definition: wave_equation_element.cpp:220
void CalculateRightHandSide(VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: wave_equation_element.cpp:162
void CalculateIntegrationCoefficient(double &rIntegrationCoefficient, const double &detJ, const double &weight)
Definition: wave_equation_element.cpp:355
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(WaveEquationElement)
void CalculateLHS(MatrixType &rLeftHandSideMatrix, const ProcessInfo &rCurrentProcessInfo)
Definition: wave_equation_element.cpp:250
void CalculateLocalSystem(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: wave_equation_element.cpp:119
void GetDofList(DofsVectorType &rElementalDofList, const ProcessInfo &rCurrentProcessInfo) const override
Definition: wave_equation_element.cpp:77
WaveEquationElement(IndexType NewId=0)
Default Constructor.
Definition: wave_equation_element.hpp:36
#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