12 #if !defined(KRATOS_MIXED_LAPLACIAN_ELEMENT_H_INCLUDED)
13 #define KRATOS_MIXED_LAPLACIAN_ELEMENT_H_INCLUDED
55 template<std::
size_t TDim, std::
size_t TNumNodes>
66 constexpr
static unsigned int Dim = TDim;
69 constexpr
static unsigned int NumNodes = TNumNodes;
84 GeometryType::Pointer pGeometry);
88 GeometryType::Pointer pGeometry,
89 PropertiesType::Pointer pProperties);
107 PropertiesType::Pointer pProperties)
const override;
111 GeometryType::Pointer pGeom,
112 PropertiesType::Pointer pProperties)
const override;
129 const ProcessInfo& rCurrentProcessInfo)
const override;
133 const ProcessInfo& CurrentProcessInfo)
const override;
213 void save(
Serializer& rSerializer)
const override
Base class for all Elements.
Definition: element.h:60
std::vector< DofType::Pointer > DofsVectorType
Definition: element.h:100
std::vector< std::size_t > EquationIdVectorType
Definition: element.h:98
std::size_t IndexType
Definition: flags.h:74
IntegrationMethod
Definition: geometry_data.h:76
Mixed Laplacian formulation element This element implements a mixed Laplacian (scalar - gradient) for...
Definition: mixed_laplacian_element.h:57
constexpr static unsigned int NumNodes
Number of nodes of the element.
Definition: mixed_laplacian_element.h:69
void CalculateRightHandSide(VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: mixed_laplacian_element.cpp:225
void GetDofList(DofsVectorType &rElementalDofList, const ProcessInfo &CurrentProcessInfo) const override
Definition: mixed_laplacian_element.cpp:268
IntegrationMethod GetIntegrationMethod() const override
Definition: mixed_laplacian_element.cpp:338
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
It creates a new element pointer.
Definition: mixed_laplacian_element.cpp:52
void CalculateLocalSystem(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: mixed_laplacian_element.cpp:77
constexpr static unsigned int Dim
Physical space dimension for the problem.
Definition: mixed_laplacian_element.h:66
int Check(const ProcessInfo &rCurrentProcessInfo) const override
Definition: mixed_laplacian_element.cpp:300
constexpr static unsigned int LocalSize
Problem size.
Definition: mixed_laplacian_element.h:75
constexpr static unsigned int BlockSize
Single node block size.
Definition: mixed_laplacian_element.h:72
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(MixedLaplacianElement)
Counted pointer of MixedLaplacianElement.
MixedLaplacianElement()
Definition: mixed_laplacian_element.h:193
void EquationIdVector(EquationIdVectorType &rResult, const ProcessInfo &rCurrentProcessInfo) const override
Definition: mixed_laplacian_element.cpp:236
virtual ~MixedLaplacianElement()
Destructor.
Definition: mixed_laplacian_element.cpp:70
void CalculateLeftHandSide(MatrixType &rLeftHandSideMatrix, const ProcessInfo &rCurrentProcessInfo) override
Definition: mixed_laplacian_element.cpp:214
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
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307