12 #if !defined(KRATOS_TRIANGULAR_CONVDIFF_ELEM_H_INCLUDED )
13 #define KRATOS_TRIANGULAR_CONVDIFF_ELEM_H_INCLUDED
75 ConvDiff2D(
IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties);
92 Element::Pointer
Create(
IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties)
const override;
202 void save(
Serializer& rSerializer)
const override
A stabilized element for solving the convection diffusion equations in 2D.
Definition: conv_diff_2d.h:60
virtual ~ConvDiff2D()
Destructor.
Definition: conv_diff_2d.cpp:61
void CalculateLocalSystem(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Evaluates and .
Definition: conv_diff_2d.cpp:68
void CalculateRightHandSide(VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: conv_diff_2d.cpp:239
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
It creates a new element pointer.
Definition: conv_diff_2d.cpp:45
void EquationIdVector(EquationIdVectorType &rResult, const ProcessInfo &rCurrentProcessInfo) const override
Provides the global indices for each one of this element's local rows.
Definition: conv_diff_2d.cpp:314
void GetDofList(DofsVectorType &ElementalDofList, const ProcessInfo &CurrentProcessInfo) const override
Returns a list of the element's Dofs.
Definition: conv_diff_2d.cpp:329
friend class Serializer
Definition: conv_diff_2d.h:195
void InitializeSolutionStep(const ProcessInfo &CurrentProcessInfo) override
Calculates the temperature convective projection.
Definition: conv_diff_2d.cpp:250
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(ConvDiff2D)
Counted pointer of ConvDiff2D.
Base class for all Elements.
Definition: element.h:60
Element(IndexType NewId=0)
Definition: element.h:121
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
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