Data Structures | Public Member Functions | Private Member Functions | Private Attributes
ignitionSite Class Reference

Foam::ignitionSite. More...

Collaboration diagram for ignitionSite:
Collaboration graph
[legend]

Data Structures

class  iNew
 Class used for the read-construction of. More...
 

Public Member Functions

 ignitionSite (Istream &, const Time &, const fvMesh &)
 Construct from Istream and database. More...
 
 ignitionSite (Istream &, const engineTime &, const fvMesh &)
 Construct from Istream and engineTime. More...
 
autoPtr< ignitionSiteclone () const
 Clone. More...
 
const vectorlocation () const
 
scalar diameter () const
 
scalar time () const
 
scalar duration () const
 
scalar strength () const
 
const labelListcells () const
 Return the ignition cells updated if the mesh moved. More...
 
const scalarListcellVolumes () const
 
bool igniting () const
 
bool ignited () const
 
void operator= (const ignitionSite &)
 

Private Member Functions

void findIgnitionCells (const fvMesh &)
 

Private Attributes

const Timedb_
 
const fvMeshmesh_
 
dictionary ignitionSiteDict_
 
vector location_
 
scalar diameter_
 
scalar time_
 
scalar duration_
 
scalar strength_
 
labelList cells_
 
scalarList cellVolumes_
 
label timeIndex_
 Current time index. More...
 

Detailed Description

Foam::ignitionSite.

Source files

Definition at line 58 of file ignitionSite.H.

Constructor & Destructor Documentation

◆ ignitionSite() [1/2]

ignitionSite ( Istream is,
const Time db,
const fvMesh mesh 
)

Construct from Istream and database.

Definition at line 32 of file ignitionSiteIO.C.

References IOstream::check().

Referenced by ignitionSite::clone(), and ignitionSite::iNew::operator()().

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

◆ ignitionSite() [2/2]

ignitionSite ( Istream is,
const engineTime edb,
const fvMesh mesh 
)

Construct from Istream and engineTime.

Definition at line 68 of file ignitionSiteIO.C.

References IOstream::check().

Here is the call graph for this function:

Member Function Documentation

◆ findIgnitionCells()

void findIgnitionCells ( const fvMesh mesh)
private

Definition at line 32 of file ignitionSite.C.

References ignitionSite::cells_, ignitionSite::cellVolumes_, ignitionSite::diameter_, Foam::endl(), forAll, ignitionSite::location_, Foam::mag(), mesh, Foam::Pout, List::setSize(), and List::size().

Referenced by ignitionSite::cells().

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

◆ clone()

autoPtr<ignitionSite> clone ( ) const
inline

Clone.

Definition at line 121 of file ignitionSite.H.

References ignitionSite::ignitionSite().

Here is the call graph for this function:

◆ location()

const vector& location ( ) const
inline

Definition at line 131 of file ignitionSite.H.

References ignitionSite::location_.

◆ diameter()

scalar diameter ( ) const
inline

Definition at line 136 of file ignitionSite.H.

References ignitionSite::diameter_.

◆ time()

scalar time ( ) const
inline

Definition at line 141 of file ignitionSite.H.

References ignitionSite::time_.

◆ duration()

scalar duration ( ) const
inline

Definition at line 146 of file ignitionSite.H.

References ignitionSite::duration_.

◆ strength()

scalar strength ( ) const
inline

Definition at line 151 of file ignitionSite.H.

References ignitionSite::strength_.

◆ cells()

const Foam::labelList & cells ( ) const

Return the ignition cells updated if the mesh moved.

Definition at line 86 of file ignitionSite.C.

References ignitionSite::findIgnitionCells().

Here is the call graph for this function:

◆ cellVolumes()

const scalarList& cellVolumes ( ) const
inline

Definition at line 159 of file ignitionSite.H.

References ignitionSite::cellVolumes_.

◆ igniting()

bool igniting ( ) const

Definition at line 98 of file ignitionSite.C.

References Foam::max().

Here is the call graph for this function:

◆ ignited()

bool ignited ( ) const

Definition at line 112 of file ignitionSite.C.

◆ operator=()

void operator= ( const ignitionSite is)

Field Documentation

◆ db_

const Time& db_
private

Definition at line 62 of file ignitionSite.H.

◆ mesh_

const fvMesh& mesh_
private

Definition at line 63 of file ignitionSite.H.

◆ ignitionSiteDict_

dictionary ignitionSiteDict_
private

Definition at line 65 of file ignitionSite.H.

◆ location_

vector location_
private

◆ diameter_

scalar diameter_
private

◆ time_

scalar time_
private

Definition at line 69 of file ignitionSite.H.

Referenced by ignitionSite::operator=(), and ignitionSite::time().

◆ duration_

scalar duration_
private

Definition at line 70 of file ignitionSite.H.

Referenced by ignitionSite::duration(), and ignitionSite::operator=().

◆ strength_

scalar strength_
private

Definition at line 71 of file ignitionSite.H.

Referenced by ignitionSite::operator=(), and ignitionSite::strength().

◆ cells_

labelList cells_
private

Definition at line 73 of file ignitionSite.H.

Referenced by ignitionSite::findIgnitionCells(), and ignitionSite::operator=().

◆ cellVolumes_

scalarList cellVolumes_
private

◆ timeIndex_

label timeIndex_
mutableprivate

Current time index.

Used during the update for moving meshes

Definition at line 78 of file ignitionSite.H.


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