7 #if !defined(KRATOS_COMPUTE_COMPONENT_GRADIENT_SIMPLEX_ELEMENT_H_INCLUDED )
8 #define KRATOS_COMPUTE_COMPONENT_GRADIENT_SIMPLEX_ELEMENT_H_INCLUDED
25 #include "utilities/geometry_utilities.h"
60 template<
unsigned int TDim,
61 unsigned int TNumNodes = TDim + 1 >
120 BaseType(NewId), mCurrentComponent(
'X')
129 BaseType(NewId, ThisNodes), mCurrentComponent(
'X')
138 BaseType(NewId, pGeometry), mCurrentComponent(
'X')
148 BaseType(NewId, pGeometry, pProperties), mCurrentComponent(
'X')
174 PropertiesType::Pointer pProperties)
const override
180 virtual void CalculateLocalSystem(
MatrixType& rLeftHandSideMatrix,
192 virtual void EquationIdVector(EquationIdVectorType& rResult,
const ProcessInfo& rCurrentProcessInfo)
const override;
199 virtual void GetDofList(DofsVectorType& rElementalDofList,
const ProcessInfo& rCurrentProcessInfo)
const override;
218 virtual int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
230 virtual std::string
Info()
const override
232 std::stringstream buffer;
233 buffer <<
"ComputeComponentGradientSimplex #" << this->Id();
238 virtual void PrintInfo(std::ostream& rOStream)
const override
240 rOStream <<
"ComputeComponentGradientSimplex" << TDim <<
"D";
308 void AddIntegrationPointRHSContribution(
VectorType&
F,
311 const double Weight)
override;
353 template<
unsigned int TDim >
361 template<
unsigned int TDim >
366 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
A post-processing element to recover the Laplacian from the velocity solution.
Definition: calculate_component_gradient_simplex_element.h:63
Geometry< NodeType >::PointsArrayType NodesArrayType
Definition of nodes container type, redefined from GeometryType.
Definition: calculate_component_gradient_simplex_element.h:80
Kratos::Vector ShapeFunctionsType
Type for shape function values container.
Definition: calculate_component_gradient_simplex_element.h:101
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
Create a new element of this type.
Definition: calculate_component_gradient_simplex_element.h:173
ComputeComponentGradientSimplex(IndexType NewId, const NodesArrayType &ThisNodes)
Constructor using an array of nodes.
Definition: calculate_component_gradient_simplex_element.h:128
std::size_t SizeType
Definition: calculate_component_gradient_simplex_element.h:92
ComputeComponentGradientSimplex(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Constuctor using geometry and properties.
Definition: calculate_component_gradient_simplex_element.h:147
ComputeMaterialDerivativeSimplex< TDim, TNumNodes > BaseType
Definition: calculate_component_gradient_simplex_element.h:71
std::size_t IndexType
Definition: calculate_component_gradient_simplex_element.h:90
virtual ~ComputeComponentGradientSimplex()
Destructor.
Definition: calculate_component_gradient_simplex_element.h:152
ComputeComponentGradientSimplex(IndexType NewId=0)
Default constuctor.
Definition: calculate_component_gradient_simplex_element.h:119
Matrix MatrixType
Matrix type for local contributions to the linear system.
Definition: calculate_component_gradient_simplex_element.h:86
ComputeComponentGradientSimplex(IndexType NewId, GeometryType::Pointer pGeometry)
Constructor using a geometry object.
Definition: calculate_component_gradient_simplex_element.h:137
GeometryType::ShapeFunctionsGradientsType ShapeFunctionDerivativesArrayType
Type for an array of shape function gradient matrices.
Definition: calculate_component_gradient_simplex_element.h:107
Geometry< NodeType > GeometryType
Geometry type (using with given NodeType)
Definition: calculate_component_gradient_simplex_element.h:77
Node NodeType
Node type (default is: Node)
Definition: calculate_component_gradient_simplex_element.h:74
std::vector< std::size_t > EquationIdVectorType
Definition: calculate_component_gradient_simplex_element.h:94
std::vector< Dof< double >::Pointer > DofsVectorType
Definition: calculate_component_gradient_simplex_element.h:96
PointerVectorSet< Dof< double >, IndexedObject > DofsArrayType
Definition: calculate_component_gradient_simplex_element.h:98
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(ComputeComponentGradientSimplex)
Pointer definition of ComputeComponentGradientSimplex.
Vector VectorType
Vector type for local contributions to the linear system.
Definition: calculate_component_gradient_simplex_element.h:83
virtual std::string Info() const override
Turn back information as a string.
Definition: calculate_component_gradient_simplex_element.h:230
Kratos::Matrix ShapeFunctionDerivativesType
Type for a matrix containing the shape function gradients.
Definition: calculate_component_gradient_simplex_element.h:104
char mCurrentComponent
Definition: calculate_component_gradient_simplex_element.h:261
Properties PropertiesType
Definition: calculate_component_gradient_simplex_element.h:88
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: calculate_component_gradient_simplex_element.h:238
A post-processing element to recover the Laplacian from the velocity solution.
Definition: calculate_mat_deriv_simplex_element.h:62
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: element.h:1135
std::size_t IndexType
Definition: flags.h:74
This defines the geometrical object, base definition of the element and condition entities.
Definition: geometrical_object.h:58
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
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
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