13 #ifndef KRATOS_WEIGHTED_DIVERGENCE_CALCULATION_PROCESS_H
14 #define KRATOS_WEIGHTED_DIVERGENCE_CALCULATION_PROCESS_H
22 #include "utilities/geometry_utilities.h"
124 std::string
Info()
const override;
127 void PrintInfo(std::ostream& rOStream)
const override;
130 void PrintData(std::ostream& rOStream)
const override;
157 double ComputeAuxiliaryElementDivergence(
Vector& grad_x,
Vector& grad_y,
Vector& grad_z);
158 double ComputeAuxiliaryElementVelocitySeminorm(
Vector& grad_x,
Vector& grad_y,
Vector& grad_z);
159 double ComputeWeightedTimeAverage(
const double& old_average,
const double& current_value);
187 double mTimeCoefficient;
218 inline std::ostream&
operator << (std::ostream& rOStream,
void ExecuteFinalizeSolutionStep() override
this function will be executed at every time step AFTER performing the solve phase
Definition: periodic_interface_process.hpp:55
void ExecuteInitialize() override
Definition: periodic_interface_process.hpp:37
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
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
Process to compute element time average of the divergence.
Definition: weighted_divergence_calculation_process.h:64
KRATOS_CLASS_POINTER_DEFINITION(WeightedDivergenceCalculationProcess)
Pointer definition of Process.
WeightedDivergenceCalculationProcess & operator=(WeightedDivergenceCalculationProcess const &rOther)=delete
Assignment operator.
~WeightedDivergenceCalculationProcess() override=default
Destructor.
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