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 diagTensor & | momentOfInertia () const |
bool | linearMolecule () const |
bool | pointMolecule () const |
label | degreesOfFreedom () const |
scalar | mass () const |
label | nSites () const |
Private Member Functions | |
void | checkSiteListSizes () const |
void | setInteracionSiteBools (const List< word > &siteIds, const List< word > &pairPotSiteIds) |
bool | linearMoleculeTest () const |
Private Attributes | |
Field< vector > | siteReferencePositions_ |
List< scalar > | siteMasses_ |
List< scalar > | siteCharges_ |
List< label > | siteIds_ |
List< bool > | pairPotentialSites_ |
List< bool > | electrostaticSites_ |
diagTensor | momentOfInertia_ |
scalar | mass_ |
Class to hold molecule constant properties.
Definition at line 81 of file molecule.H.
|
inline |
Definition at line 28 of file moleculeI.H.
|
inline |
Construct from dictionary.
Definition at line 42 of file moleculeI.H.
References Foam::abort(), dict, Foam::e, Foam::eigenValues(), Foam::eigenVectors(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, Foam::mag(), Foam::nl, p, Foam::rotationTensor(), Foam::sum(), x, Tensor::xx(), DiagTensor< Cmpt >::yy(), Tensor::yy(), DiagTensor< scalar >::zero, Vector< scalar >::zero, Tensor::zero, DiagTensor< Cmpt >::zz(), and Tensor::zz().
|
inlineprivate |
Definition at line 259 of file moleculeI.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::nl.
|
inlineprivate |
Definition at line 276 of file moleculeI.H.
References Foam::findIndex(), forAll, molecule::id(), and Foam::mag().
|
inlineprivate |
Definition at line 296 of file moleculeI.H.
References Foam::mag().
|
inline |
Definition at line 331 of file moleculeI.H.
Referenced by molecule::move(), and molecule::setSitePositions().
|
inline |
Definition at line 338 of file moleculeI.H.
|
inline |
Definition at line 345 of file moleculeI.H.
Referenced by moleculeCloud::evaluatePair(), and moleculeCloud::evaluatePotentialLimit().
|
inline |
Definition at line 352 of file moleculeI.H.
Referenced by moleculeCloud::evaluatePair(), moleculeCloud::evaluatePotentialLimit(), and moleculeCloud::writeXYZ().
|
inline |
Definition at line 366 of file moleculeI.H.
Referenced by moleculeCloud::evaluatePair(), and moleculeCloud::evaluatePotentialLimit().
|
inline |
Definition at line 373 of file moleculeI.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::findIndex(), Foam::nl, and s().
|
inline |
Definition at line 391 of file moleculeI.H.
Referenced by moleculeCloud::evaluatePair(), and moleculeCloud::evaluatePotentialLimit().
|
inline |
Definition at line 398 of file moleculeI.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::findIndex(), Foam::nl, and s().
|
inline |
Definition at line 416 of file moleculeI.H.
Referenced by moleculeCloud::equipartitionAngularMomentum(), and molecule::move().
|
inline |
Definition at line 422 of file moleculeI.H.
Referenced by moleculeCloud::equipartitionAngularMomentum(), and molecule::move().
|
inline |
Definition at line 428 of file moleculeI.H.
Referenced by moleculeCloud::createMolecule(), and molecule::move().
|
inline |
Definition at line 434 of file moleculeI.H.
|
inline |
Definition at line 451 of file moleculeI.H.
Referenced by moleculeCloud::createMolecule(), moleculeCloud::initialiseMolecules(), and molecule::move().
|
inline |
Definition at line 457 of file moleculeI.H.
Referenced by moleculeCloud::setSiteSizesAndPositions().
Definition at line 85 of file molecule.H.
|
private |
Definition at line 87 of file molecule.H.
|
private |
Definition at line 89 of file molecule.H.
Definition at line 91 of file molecule.H.
|
private |
Definition at line 93 of file molecule.H.
|
private |
Definition at line 95 of file molecule.H.
|
private |
Definition at line 97 of file molecule.H.
|
private |
Definition at line 99 of file molecule.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.