82 KRATOS_ERROR <<
"Calling base class implementation" << std::endl;
89 template<
bool THistorical>
120 template<
bool THistorical>
150 const bool NonHistoricalVariable =
false
176 void Execute()
override;
181 const Parameters GetDefaultParameters()
const override;
196 std::string
Info()
const override
198 return "ComputeNodalGradientProcess";
204 rOStream <<
"ComputeNodalGradientProcess";
258 bool mNonHistoricalVariable =
false;
274 void CheckOriginAndAreaVariables();
279 void ClearGradient();
296 void ComputeElementalContributionsAndVolume();
301 void PonderateGradient();
306 void SynchronizeGradientAndVolume();
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Compute Nodal Gradient process.
Definition: compute_nodal_gradient_process.h:123
std::string Info() const override
Turn back information as a string.
Definition: compute_nodal_gradient_process.h:196
~ComputeNodalGradientProcess() override
Destructor.
Definition: compute_nodal_gradient_process.h:154
KRATOS_CLASS_POINTER_DEFINITION(ComputeNodalGradientProcess)
Pointer definition of ComputeNodalGradientProcess.
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: compute_nodal_gradient_process.h:202
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: compute_nodal_gradient_process.h:208
Node NodeType
The definition of the node.
Definition: compute_nodal_gradient_process.h:129
void operator()()
This operator is provided to call the process as a function and simply calls the Execute method.
Definition: compute_nodal_gradient_process.h:163
Geometry base class.
Definition: geometry.h:71
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class defines the node.
Definition: node.h:65
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
The base class for all processes in Kratos.
Definition: process.h:49
#define KRATOS_ERROR
Definition: exception.h:161
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
integer i
Definition: TensorModule.f:17
This struct is an auxiliar base class of the VariableVectorRetriever.
Definition: compute_nodal_gradient_process.h:64
virtual ~AuxiliarVariableVectorRetriever()
Destructor.
Definition: compute_nodal_gradient_process.h:66
virtual void GetVariableVector(const Geometry< Node > &rGeometry, const Variable< double > &rVariable, Vector &rVector)
This method fills the vector of values.
Definition: compute_nodal_gradient_process.h:76
This struct is used in order to identify when using the hitorical and non historical variables.
Definition: compute_nodal_gradient_process.h:52
constexpr static bool SaveAsNonHistoricalVariable
Definition: compute_nodal_gradient_process.h:55
constexpr static bool GetAsHistoricalVariable
Definition: compute_nodal_gradient_process.h:56
constexpr static bool GetAsNonHistoricalVariable
Definition: compute_nodal_gradient_process.h:57
constexpr static bool SaveAsHistoricalVariable
Definition: compute_nodal_gradient_process.h:54
This struct is used in order to retrieve values without loosing performance.
Definition: compute_nodal_gradient_process.h:92
~VariableVectorRetriever() override
Destructor.
Definition: compute_nodal_gradient_process.h:94
void GetVariableVector(const Geometry< Node > &rGeometry, const Variable< double > &rVariable, Vector &rVector) override
This method fills the vector of values.
Definition: compute_nodal_gradient_process.cpp:332