Public Member Functions | List of all members
molecule::constantProperties Class Reference

Class to hold molecule constant properties. More...

Public Member Functions

 constantProperties ()
 
 constantProperties (const dictionary &dict)
 Construct from dictionary. More...
 
const Field< vector > & siteReferencePositions () const
 
const List< scalar > & siteMasses () const
 
const List< scalar > & siteCharges () const
 
const List< label > & siteIds () const
 
List< label > & siteIds ()
 
const List< bool > & pairPotentialSites () const
 
bool pairPotentialSite (label sId) const
 
const List< bool > & electrostaticSites () const
 
bool electrostaticSite (label sId) const
 
const diagTensormomentOfInertia () const
 
bool linearMolecule () const
 
bool pointMolecule () const
 
label degreesOfFreedom () const
 
scalar mass () const
 
label nSites () const
 

Detailed Description

Class to hold molecule constant properties.

Definition at line 81 of file molecule.H.

Constructor & Destructor Documentation

constantProperties ( )
inline

Definition at line 28 of file moleculeI.H.

constantProperties ( const dictionary dict)
inline

Member Function Documentation

const Foam::Field< Foam::vector > & siteReferencePositions ( ) const
inline

Definition at line 331 of file moleculeI.H.

Referenced by molecule::setSitePositions().

Here is the caller graph for this function:

const Foam::List< Foam::scalar > & siteMasses ( ) const
inline

Definition at line 338 of file moleculeI.H.

const Foam::List< Foam::scalar > & siteCharges ( ) const
inline

Definition at line 345 of file moleculeI.H.

const Foam::List< Foam::label > & siteIds ( ) const
inline

Definition at line 352 of file moleculeI.H.

Referenced by molecule::molecule(), and moleculeCloud::writeXYZ().

Here is the caller graph for this function:

Foam::List< Foam::label > & siteIds ( )
inline

Definition at line 359 of file moleculeI.H.

const Foam::List< bool > & pairPotentialSites ( ) const
inline

Definition at line 366 of file moleculeI.H.

References molecule::constantProperties::pairPotentialSite().

Here is the call graph for this function:

bool pairPotentialSite ( label  sId) const
inline

Definition at line 373 of file moleculeI.H.

References Foam::abort(), Foam::FatalError, FatalErrorIn, Foam::findIndex(), Foam::nl, and s().

Referenced by molecule::constantProperties::pairPotentialSites().

Here is the call graph for this function:

Here is the caller graph for this function:

const Foam::List< bool > & electrostaticSites ( ) const
inline

Definition at line 391 of file moleculeI.H.

References molecule::constantProperties::electrostaticSite().

Here is the call graph for this function:

bool electrostaticSite ( label  sId) const
inline

Definition at line 398 of file moleculeI.H.

References Foam::abort(), Foam::FatalError, FatalErrorIn, Foam::findIndex(), Foam::nl, and s().

Referenced by molecule::constantProperties::electrostaticSites().

Here is the call graph for this function:

Here is the caller graph for this function:

const Foam::diagTensor & momentOfInertia ( ) const
inline

Definition at line 418 of file moleculeI.H.

bool linearMolecule ( ) const
inline

Definition at line 424 of file moleculeI.H.

References DiagTensor< Cmpt >::xx(), and DiagTensor< Cmpt >::yy().

Referenced by molecule::constantProperties::degreesOfFreedom().

Here is the call graph for this function:

Here is the caller graph for this function:

bool pointMolecule ( ) const
inline

Definition at line 430 of file moleculeI.H.

References DiagTensor< Cmpt >::zz().

Referenced by molecule::constantProperties::degreesOfFreedom().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::label degreesOfFreedom ( ) const
inline

Definition at line 436 of file moleculeI.H.

References molecule::constantProperties::linearMolecule(), and molecule::constantProperties::pointMolecule().

Here is the call graph for this function:

Foam::scalar mass ( ) const
inline

Definition at line 453 of file moleculeI.H.

Foam::label nSites ( ) const
inline

Definition at line 459 of file moleculeI.H.

References List< T >::size().

Here is the call graph for this function:


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