14 #if !defined(KRATOS_CALCULATE_NODAL_AREA_PROCESS_H_INCLUDED )
15 #define KRATOS_CALCULATE_NODAL_AREA_PROCESS_H_INCLUDED
64 template<
bool THistorical = true>
96 ): mrModelPart(rModelPart),
97 mDomainSize(DomainSize)
100 if (mDomainSize == 0) {
125 void Execute()
override;
141 std::string
Info()
const override
143 return "CalculateNodalAreaProcess";
149 rOStream <<
"CalculateNodalAreaProcess";
228 double& GetAreaValue(
NodeType& rNode);
267 template<
bool THistorical = true>
272 template<
bool THistorical = true>
277 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Computes NODAL_AREA.
Definition: calculate_nodal_area_process.h:67
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: calculate_nodal_area_process.h:147
std::size_t SizeType
Size type definition.
Definition: calculate_nodal_area_process.h:76
CalculateNodalAreaProcess(ModelPart &rModelPart, const SizeType DomainSize=0)
Default constructor.
Definition: calculate_nodal_area_process.h:93
std::size_t IndexType
Index type definition.
Definition: calculate_nodal_area_process.h:73
KRATOS_CLASS_POINTER_DEFINITION(CalculateNodalAreaProcess)
Pointer definition of CalculateNodalAreaProcess.
std::string Info() const override
Turn back information as a string.
Definition: calculate_nodal_area_process.h:141
~CalculateNodalAreaProcess() override
Destructor.
Definition: calculate_nodal_area_process.h:107
Node NodeType
The definition of the node.
Definition: calculate_nodal_area_process.h:79
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: calculate_nodal_area_process.h:153
void operator()()
Definition: calculate_nodal_area_process.h:115
bool Has(const Variable< TDataType > &rThisVariable) const
Checks if the data container has a value associated with a given variable.
Definition: data_value_container.h:382
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
ProcessInfo & GetProcessInfo()
Definition: model_part.h:1746
This class defines the node.
Definition: node.h:65
The base class for all processes in Kratos.
Definition: process.h:49
#define KRATOS_ERROR_IF_NOT(conditional)
Definition: exception.h:163
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43
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
This struct is used in order to identify when using the hitorical and non historical variables.
Definition: calculate_nodal_area_process.h:50
constexpr static bool SaveAsHistoricalVariable
Definition: calculate_nodal_area_process.h:52
constexpr static bool SaveAsNonHistoricalVariable
Definition: calculate_nodal_area_process.h:53