Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
DAResidual Class Referenceabstract
Inheritance diagram for DAResidual:
Inheritance graph
[legend]
Collaboration diagram for DAResidual:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("DAResidual")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, DAResidual, dictionary,(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex),(modelType, mesh, daOption, daModel, daIndex))
 
 DAResidual (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 
virtual ~DAResidual ()
 
virtual void clear ()=0
 clear the members More...
 
virtual void calcResiduals (const dictionary &options)=0
 compute residuals More...
 
virtual void updateIntermediateVariables ()=0
 update any intermdiate variables that are dependent on state variables and are used in calcResiduals More...
 
virtual void correctBoundaryConditions ()=0
 update the boundary condition for all the states in the selected solver More...
 
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 More...
 

Static Public Member Functions

static autoPtr< DAResidualNew (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 

Protected Attributes

const fvMesh & mesh_
 fvMesh More...
 
const DAOptiondaOption_
 DAOption object. More...
 
const DAModeldaModel_
 DAModel object. More...
 
const DAIndexdaIndex_
 DAIndex. More...
 
DAField daField_
 DAField object. More...
 

Detailed Description

Definition at line 35 of file DAResidual.H.

Constructor & Destructor Documentation

◆ DAResidual()

DAResidual ( const word  modelType,
const fvMesh &  mesh,
const DAOption daOption,
const DAModel daModel,
const DAIndex daIndex 
)

Definition at line 22 of file DAResidual.C.

◆ ~DAResidual()

virtual ~DAResidual ( )
inlinevirtual

Definition at line 98 of file DAResidual.H.

Member Function Documentation

◆ TypeName()

TypeName ( "DAResidual"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
DAResidual  ,
dictionary  ,
(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex ,
(modelType, mesh, daOption, daModel, daIndex  
)

◆ New()

autoPtr< DAResidual > New ( const word  modelType,
const fvMesh &  mesh,
const DAOption daOption,
const DAModel daModel,
const DAIndex daIndex 
)
static

Definition at line 38 of file DAResidual.C.

References daIndex(), daModel(), daOption(), and mesh.

Referenced by ColoringSolid::run(), ColoringIncompressible::run(), and ColoringCompressible::run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear()

virtual void clear ( )
pure virtual

◆ calcResiduals()

virtual void calcResiduals ( const dictionary &  options)
pure virtual

◆ updateIntermediateVariables()

virtual void updateIntermediateVariables ( )
pure virtual

◆ correctBoundaryConditions()

virtual void correctBoundaryConditions ( )
pure virtual

◆ masterFunction()

void masterFunction ( const dictionary &  options,
const Vec  xvVec,
const Vec  wVec,
Vec  resVec 
)

Member Data Documentation

◆ mesh_

const fvMesh& mesh_
protected

◆ daOption_

const DAOption& daOption_
protected

◆ daModel_

const DAModel& daModel_
protected

DAModel object.

Definition at line 53 of file DAResidual.H.

Referenced by DAResidual::masterFunction().

◆ daIndex_

const DAIndex& daIndex_
protected

DAIndex.

Definition at line 56 of file DAResidual.H.

◆ daField_

DAField daField_
protected

DAField object.

Definition at line 59 of file DAResidual.H.

Referenced by DAResidual::masterFunction().


The documentation for this class was generated from the following files: