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

Public Member Functions

 TypeName ("patchVar")
 
 DAInputPatchVar (const word inputName, const word inputType, fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 
virtual ~DAInputPatchVar ()
 
virtual void run (const scalarList &input)
 
virtual label size ()
 
virtual label distributed ()
 
- Public Member Functions inherited from DAInput
 TypeName ("DAInput")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, DAInput, dictionary,(const word inputName, const word inputType, fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex),(inputName, inputType, mesh, daOption, daModel, daIndex))
 
 DAInput (const word inputName, const word inputType, fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 
virtual ~DAInput ()
 

Protected Attributes

word varName_
 the name of the variable More...
 
word varType_
 the type of the variable can be either scalar or vector More...
 
- Protected Attributes inherited from DAInput
const word inputName_
 name of the input More...
 
const word inputType_
 type of the input More...
 
fvMesh & mesh_
 fvMesh More...
 
const DAOptiondaOption_
 DAOption object. More...
 
const DAModeldaModel_
 DAIndex object. More...
 
const DAIndexdaIndex_
 DAIndex object. More...
 
HashTable< wordList > stateInfo_
 the stateInfo_ list from DAStateInfo object More...
 

Additional Inherited Members

- Static Public Member Functions inherited from DAInput
static autoPtr< DAInputNew (const word inputName, const word inputType, fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 

Detailed Description

Definition at line 27 of file DAInputPatchVar.H.

Constructor & Destructor Documentation

◆ DAInputPatchVar()

DAInputPatchVar ( const word  inputName,
const word  inputType,
fvMesh &  mesh,
const DAOption daOption,
const DAModel daModel,
const DAIndex daIndex 
)

Definition at line 19 of file DAInputPatchVar.C.

References DAInput::daOption_, DAOption::getAllOptions(), DAInput::inputName_, DAInputPatchVar::varName_, and DAInputPatchVar::varType_.

Here is the call graph for this function:

◆ ~DAInputPatchVar()

virtual ~DAInputPatchVar ( )
inlinevirtual

Definition at line 52 of file DAInputPatchVar.H.

Member Function Documentation

◆ TypeName()

TypeName ( "patchVar"  )

◆ run()

void run ( const scalarList &  input)
virtual

Implements DAInput.

Definition at line 44 of file DAInputPatchVar.C.

References DAInput::daOption_, forAll(), DAOption::getAllOptions(), DAInput::inputName_, DAInput::mesh_, DAInputPatchVar::varName_, and DAInputPatchVar::varType_.

Here is the call graph for this function:

◆ size()

virtual label size ( )
inlinevirtual

Implements DAInput.

Definition at line 58 of file DAInputPatchVar.H.

References DAInputPatchVar::varType_.

◆ distributed()

virtual label distributed ( )
inlinevirtual

Implements DAInput.

Definition at line 74 of file DAInputPatchVar.H.

Member Data Documentation

◆ varName_

word varName_
protected

the name of the variable

Definition at line 33 of file DAInputPatchVar.H.

Referenced by DAInputPatchVar::DAInputPatchVar(), and DAInputPatchVar::run().

◆ varType_

word varType_
protected

the type of the variable can be either scalar or vector

Definition at line 36 of file DAInputPatchVar.H.

Referenced by DAInputPatchVar::DAInputPatchVar(), DAInputPatchVar::run(), and DAInputPatchVar::size().


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