31#ifndef GRADIENTGREENGAUSS_H
32#define GRADIENTGREENGAUSS_H
56 virtual void computeGradients(
Cell* cell, std::vector<Coord>& grads,
const std::vector<Variable>& nameVariables,
const std::vector<int>& numPhases);
Definition CellInterface.h:52
Base class for a mesh cell.
Definition Cell.h:59
Class for a coordinate system object such as coordinates of the vertex or a vector.
Definition Coord.h:43
Class for the Green-Gauss gradient method working on all mesh types.
Definition GradientGreenGauss.h:39
virtual ~GradientGreenGauss()
Definition GradientGreenGauss.cpp:42
GradientGreenGauss()
Definition GradientGreenGauss.cpp:35
virtual void computeGradients(Cell *cell, std::vector< Coord > &grads, const std::vector< Variable > &nameVariables, const std::vector< int > &numPhases)
Compute gradients (temperature, velocity, density) of a cell.
Definition GradientGreenGauss.cpp:69
void addGradInterface(Coord &grad, CellInterface &cellInterface, Cell &cell, double const &faceValue)
Add the contribution of the interface to build the cell gradient.
Definition GradientGreenGauss.cpp:46
Base class for the gradient method.
Definition Gradient.h:43