
Public Member Functions | |
| TypeInfoNV ("sphereShape") | |
| sphereShape () | |
| sphereShape (const realVector &diameter, const wordVector &property, const wordVector &name) | |
| sphereShape (const sphereShape &)=default | |
| sphereShape (sphereShape &&)=default | |
| sphereShape & | operator= (const sphereShape &)=default |
| sphereShape & | operator= (sphereShape &&)=default |
| auto | clone () const |
| sphereShape * | clonePtr () const |
| ~sphereShape ()=default | |
| const auto & | names () const |
| const auto & | diameters () const |
| const auto & | materials () const |
| const auto | diameter (label i) const |
| const auto | material (label i) const |
| bool | nameToIndex (const word &name, uint32 &index) const |
| uint32 | nameToIndex (const word &name) const |
| bool | indexToName (uint32 i, word &name) const |
| bool | shapeToDiameter (wordVector &names, realVector &diams) const |
| void | diameterMinMax (real &minD, real &maxD) const |
| bool | read (iIstream &is) |
| bool | write (iOstream &os) const |
| bool | read (const dictionary &dict) |
| bool | write (dictionary &dict) const |
Protected Member Functions | |
| bool | insertNames (const wordVector &names) |
| bool | readDictionary (const dictionary &dict) |
| bool | writeDictionary (dictionary &dict) const |
Protected Attributes | |
| realVector | diameters_ |
| wordVector | materials_ |
| wordHashMap< uint32 > | names_ |
| size_t | numShapes_ |
Definition at line 32 of file sphereShape.hpp.
|
inline |
Definition at line 60 of file sphereShape.hpp.
Referenced by sphereShape::clonePtr().

| sphereShape | ( | const realVector & | diameter, |
| const wordVector & | property, | ||
| const wordVector & | name | ||
| ) |
Definition at line 128 of file sphereShape.cpp.
References fatalExit.
|
default |
|
default |
|
default |
|
protected |
Definition at line 28 of file sphereShape.cpp.
References fatalErrorInFunction.
|
protected |
Definition at line 53 of file sphereShape.cpp.
References pFlow::endl(), fatalErrorInFunction, dictionary::getVal(), dictionary::globalName(), and Vector< T, Allocator >::size().
Referenced by sphereShape::read().


|
protected |
Definition at line 85 of file sphereShape.cpp.
References dictionary::add(), Vector< T, Allocator >::clear(), pFlow::endl(), fatalErrorInFunction, dictionary::globalName(), and n.
Referenced by sphereShape::write().


| TypeInfoNV | ( | "sphereShape" | ) |
|
default |
|
default |
|
inline |
Definition at line 76 of file sphereShape.hpp.
|
inline |
Definition at line 81 of file sphereShape.hpp.
References sphereShape::sphereShape().

|
inline |
Definition at line 89 of file sphereShape.hpp.
References sphereShape::names_.
|
inline |
Definition at line 93 of file sphereShape.hpp.
References sphereShape::diameters_.
|
inline |
Definition at line 97 of file sphereShape.hpp.
References sphereShape::materials_.
|
inline |
Definition at line 101 of file sphereShape.hpp.
References sphereShape::diameters_.
|
inline |
Definition at line 105 of file sphereShape.hpp.
References sphereShape::materials_.
Definition at line 111 of file sphereShape.hpp.
References sphereShape::names_.
Definition at line 125 of file sphereShape.hpp.
References sphereShape::names_.
Definition at line 130 of file sphereShape.hpp.
References sphereShape::names_.
| bool shapeToDiameter | ( | wordVector & | names, |
| realVector & | diams | ||
| ) | const |
Definition at line 144 of file sphereShape.cpp.
References Vector< T, Allocator >::clear(), pFlow::endl(), and fatalErrorInFunction.

Definition at line 146 of file sphereShape.hpp.
References sphereShape::diameters_, pFlow::max(), and pFlow::min().
Referenced by sphereParticles::boundingSphereMinMax().


| bool read | ( | iIstream & | is | ) |
Definition at line 166 of file sphereShape.cpp.
References ioErrorInFile, IOstream::lineNumber(), IOstream::name(), dictionary::read(), sphereShape::readDictionary(), and pFlow::sphereShapeFile__.

| bool write | ( | iOstream & | os | ) | const |
Definition at line 186 of file sphereShape.cpp.
References ioErrorInFile, IOstream::lineNumber(), IOstream::name(), pFlow::sphereShapeFile__, and dictionary::write().

|
inline |
Definition at line 161 of file sphereShape.hpp.
References sphereShape::readDictionary().

|
inline |
Definition at line 167 of file sphereShape.hpp.
References sphereShape::writeDictionary().

|
protected |
Definition at line 37 of file sphereShape.hpp.
Referenced by sphereShape::diameter(), sphereShape::diameterMinMax(), and sphereShape::diameters().
|
protected |
Definition at line 40 of file sphereShape.hpp.
Referenced by sphereShape::material(), and sphereShape::materials().
|
protected |
Definition at line 43 of file sphereShape.hpp.
Referenced by sphereShape::indexToName(), sphereShape::names(), and sphereShape::nameToIndex().
|
protected |
Definition at line 45 of file sphereShape.hpp.