Go to the documentation of this file.
14 #include "runTimeSelectionTables.H"
15 #include "fvOptions.H"
16 #include "surfaceFields.H"
70 (
const word modelType,
90 static autoPtr<DAResidual>
New(
105 virtual void clear() = 0;
118 const dictionary& options,
virtual void correctBoundaryConditions()=0
update the boundary condition for all the states in the selected solver
const fvMesh & mesh_
fvMesh
virtual void updateIntermediateVariables()=0
update any intermdiate variables that are dependent on state variables and are used in calcResiduals
DAOption daOption(mesh, pyOptions_)
const DAIndex & daIndex_
DAIndex.
DAField daField_
DAField object.
virtual void clear()=0
clear the members
const DAOption & daOption_
DAOption object.
static autoPtr< DAResidual > New(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
TypeName("DAResidual")
Runtime type information.
const DAModel & daModel_
DAModel object.
void masterFunction(const dictionary &options, const Vec xvVec, const Vec wVec, Vec resVec)
the master function that compute the residual vector given the state and point vectors
declareRunTimeSelectionTable(autoPtr, DAResidual, dictionary,(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex),(modelType, mesh, daOption, daModel, daIndex))
DAModel daModel(mesh, daOption)
DAIndex daIndex(mesh, daOption, daModel)
virtual void calcResiduals(const dictionary &options)=0
compute residuals