OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

timeActivatedExplicitMulticomponentPointSource Class Reference

Inheritance diagram for timeActivatedExplicitMulticomponentPointSource:
Collaboration diagram for timeActivatedExplicitMulticomponentPointSource:

List of all members.


Public Member Functions

 timeActivatedExplicitMulticomponentPointSource (const word &, const fvMesh &, const PtrList< volScalarField > &, const dimensionSet &)
 Construct from components.
virtual tmp< DimensionedField
< scalar, volMesh > > 
Su (const label fieldI)
 Return a tmp field of the source for field fieldI.
virtual tmp< DimensionedField
< scalar, volMesh > > 
Su ()
 Return a tmp field of the total source.
virtual bool read ()
 Read properties dictionary.

Protected Member Functions

label carrierFieldId (const word &fieldName)
 Return the id of field given its name.
void updateAddressing ()
 Update the addressing between source and carrier fields.
 timeActivatedExplicitMulticomponentPointSource (const timeActivatedExplicitMulticomponentPointSource &)
 Disallow default bitwise copy construct.
void operator= (const timeActivatedExplicitMulticomponentPointSource &)
 Disallow default bitwise assignment.

Protected Attributes

word name_
 Name of the source.
const fvMeshmesh_
 Reference to the mesh.
const TimerunTime_
 Reference to time database.
const dimensionSetdimensions_
 Source dimensions.
const PtrList< volScalarField > & carrierFields_
 Reference to the multicomponent carrier fields.
Switch active_
 Active flag.
List< pointSourcePropertiespointSources_
 List of point source properties.
List< labelcellOwners_
 List of cell owners for point source locations.
List< labelListfieldIds_
 List of field ids for each source.

Detailed Description

Definition at line 84 of file timeActivatedExplicitMulticomponentPointSource.H.


Constructor & Destructor Documentation

Disallow default bitwise copy construct.

timeActivatedExplicitMulticomponentPointSource ( const word name,
const fvMesh mesh,
const PtrList< volScalarField > &  carrierFields,
const dimensionSet dims 
)

Construct from components.

Definition at line 106 of file timeActivatedExplicitMulticomponentPointSource.C.


Member Function Documentation

Foam::label carrierFieldId ( const word fieldName  )  [protected]

Return the id of field given its name.

Definition at line 25 of file timeActivatedExplicitMulticomponentPointSource.C.

References timeActivatedExplicitMulticomponentPointSource::carrierFields_, forAll, and IOdictionary::name().

Here is the call graph for this function:

void updateAddressing (  )  [protected]

Update the addressing between source and carrier fields.

Definition at line 41 of file timeActivatedExplicitMulticomponentPointSource.C.

void operator= ( const timeActivatedExplicitMulticomponentPointSource  )  [protected]

Disallow default bitwise assignment.

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::volMesh > > Su ( const label  fieldI  )  [virtual]

Return a tmp field of the source for field fieldI.

Definition at line 143 of file timeActivatedExplicitMulticomponentPointSource.C.

Return a tmp field of the total source.

Definition at line 205 of file timeActivatedExplicitMulticomponentPointSource.C.

bool read (  )  [virtual]

Read properties dictionary.

Reimplemented from regIOobject.

Definition at line 263 of file timeActivatedExplicitMulticomponentPointSource.C.


Member Data Documentation

word name_ [protected]

Name of the source.

Reimplemented from dictionary.

Definition at line 93 of file timeActivatedExplicitMulticomponentPointSource.H.

const fvMesh& mesh_ [protected]

Reference to the mesh.

Definition at line 96 of file timeActivatedExplicitMulticomponentPointSource.H.

const Time& runTime_ [protected]

Reference to time database.

Definition at line 99 of file timeActivatedExplicitMulticomponentPointSource.H.

const dimensionSet& dimensions_ [protected]

Source dimensions.

Definition at line 102 of file timeActivatedExplicitMulticomponentPointSource.H.

const PtrList<volScalarField>& carrierFields_ [protected]

Reference to the multicomponent carrier fields.

Definition at line 105 of file timeActivatedExplicitMulticomponentPointSource.H.

Referenced by timeActivatedExplicitMulticomponentPointSource::carrierFieldId().

Switch active_ [protected]

Active flag.

Definition at line 108 of file timeActivatedExplicitMulticomponentPointSource.H.

List of point source properties.

Definition at line 111 of file timeActivatedExplicitMulticomponentPointSource.H.

List<label> cellOwners_ [protected]

List of cell owners for point source locations.

Definition at line 114 of file timeActivatedExplicitMulticomponentPointSource.H.

List<labelList> fieldIds_ [protected]

List of field ids for each source.

Definition at line 117 of file timeActivatedExplicitMulticomponentPointSource.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd