7 #if !defined(KRATOS_COMPUTE_GRADIENT_POULIOT_2012_EDGE_H_INCLUDED )
8 #define KRATOS_COMPUTE_GRADIENT_POULIOT_2012_EDGE_H_INCLUDED
25 #include "utilities/geometry_utilities.h"
59 template<
unsigned int TDim,
60 unsigned int TNumNodes = 2 >
115 Element(NewId), mCurrentComponent(
'X')
124 Element(NewId, ThisNodes), mCurrentComponent(
'X')
133 Element(NewId, pGeometry), mCurrentComponent(
'X')
143 Element(NewId, pGeometry, pProperties), mCurrentComponent(
'X')
169 PropertiesType::Pointer pProperties)
const override
175 void CalculateLocalSystem(
MatrixType& rLeftHandSideMatrix,
186 virtual void EquationIdVector(EquationIdVectorType& rResult,
const ProcessInfo& rCurrentProcessInfo)
const override;
193 virtual void GetDofList(DofsVectorType& rElementalDofList,
const ProcessInfo& rCurrentProcessInfo)
const override;
212 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
225 virtual std::string
Info()
const override
227 std::stringstream buffer;
228 buffer <<
"ComputeGradientPouliot2012Edge #" << Id();
233 virtual void PrintInfo(std::ostream& rOStream)
const override
235 rOStream <<
"ComputeGradientPouliot2012Edge" << TDim <<
"D";
302 void save(
Serializer& rSerializer)
const override
344 ComputeGradientPouliot2012Edge &
operator=(ComputeGradientPouliot2012Edge
const& rOther);
347 ComputeGradientPouliot2012Edge(ComputeGradientPouliot2012Edge
const& rOther);
365 template<
unsigned int TDim >
373 template<
unsigned int TDim >
378 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
A post-processing element to recover the Laplacian from the velocity solution.
Definition: calculate_gradient_Pouliot_2012_edge.h:62
GeometryType::ShapeFunctionsGradientsType ShapeFunctionDerivativesArrayType
Type for an array of shape function gradient matrices.
Definition: calculate_gradient_Pouliot_2012_edge.h:102
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(ComputeGradientPouliot2012Edge)
Pointer definition of ComputeGradientPouliot2012Edge.
std::vector< Dof< double >::Pointer > DofsVectorType
Definition: calculate_gradient_Pouliot_2012_edge.h:91
Kratos::Matrix ShapeFunctionDerivativesType
Type for a matrix containing the shape function gradients.
Definition: calculate_gradient_Pouliot_2012_edge.h:99
ComputeGradientPouliot2012Edge(IndexType NewId, const NodesArrayType &ThisNodes)
Constructor using an array of nodes.
Definition: calculate_gradient_Pouliot_2012_edge.h:123
std::size_t SizeType
Definition: calculate_gradient_Pouliot_2012_edge.h:87
Kratos::Vector ShapeFunctionsType
Type for shape function values container.
Definition: calculate_gradient_Pouliot_2012_edge.h:96
PointerVectorSet< Dof< double >, IndexedObject > DofsArrayType
Definition: calculate_gradient_Pouliot_2012_edge.h:93
std::size_t IndexType
Definition: calculate_gradient_Pouliot_2012_edge.h:85
virtual std::string Info() const override
Turn back information as a string.
Definition: calculate_gradient_Pouliot_2012_edge.h:225
ComputeGradientPouliot2012Edge(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Constuctor using geometry and properties.
Definition: calculate_gradient_Pouliot_2012_edge.h:142
Matrix MatrixType
Matrix type for local contributions to the linear system.
Definition: calculate_gradient_Pouliot_2012_edge.h:83
virtual ~ComputeGradientPouliot2012Edge()
Destructor.
Definition: calculate_gradient_Pouliot_2012_edge.h:147
char mCurrentComponent
Definition: calculate_gradient_Pouliot_2012_edge.h:251
ComputeGradientPouliot2012Edge(IndexType NewId=0)
Default constuctor.
Definition: calculate_gradient_Pouliot_2012_edge.h:114
ComputeGradientPouliot2012Edge(IndexType NewId, GeometryType::Pointer pGeometry)
Constructor using a geometry object.
Definition: calculate_gradient_Pouliot_2012_edge.h:132
Geometry< NodeType > GeometryType
Geometry type (using with given NodeType)
Definition: calculate_gradient_Pouliot_2012_edge.h:74
Vector VectorType
Vector type for local contributions to the linear system.
Definition: calculate_gradient_Pouliot_2012_edge.h:80
std::vector< std::size_t > EquationIdVectorType
Definition: calculate_gradient_Pouliot_2012_edge.h:89
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: calculate_gradient_Pouliot_2012_edge.h:233
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
Create a new element of this type.
Definition: calculate_gradient_Pouliot_2012_edge.h:168
Node NodeType
Node type (default is: Node)
Definition: calculate_gradient_Pouliot_2012_edge.h:71
Geometry< NodeType >::PointsArrayType NodesArrayType
Definition of nodes container type, redefined from GeometryType.
Definition: calculate_gradient_Pouliot_2012_edge.h:77
Base class for all Elements.
Definition: element.h:60
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: element.h:1135
std::size_t IndexType
Definition: flags.h:74
Geometry base class.
Definition: geometry.h:71
This object defines an indexed object.
Definition: indexed_object.h:54
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
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.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
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
F
Definition: hinsberg_optimization.py:144
def load(f)
Definition: ode_solve.py:307