Go to the documentation of this file.
21 #ifndef __sphereShape_hpp__
22 #define __sphereShape_hpp__
78 return makeUnique<sphereShape>(*
this);
113 if(
auto[iter, found] =
names_.findIf(name); found )
115 index = iter->second;
177 #endif //__sphereShape_hpp__
const auto diameter(label i) const
bool write(dictionary &dict) const
const auto & diameters() const
bool write(iOstream &os) const
const auto & materials() const
wordHashMap< uint32 > names_
uint32 nameToIndex(const word &name) const
bool read(const dictionary &dict)
bool indexToName(uint32 i, word &name) const
const auto & names() const
sphereShape * clonePtr() const
bool writeDictionary(dictionary &dict) const
sphereShape & operator=(const sphereShape &)=default
bool nameToIndex(const word &name, uint32 &index) const
T max(const Vector< T, Allocator > &v)
property holds the pure properties of materials.
TypeInfoNV("sphereShape")
bool insertNames(const wordVector &names)
bool readDictionary(const dictionary &dict)
bool shapeToDiameter(wordVector &names, realVector &diams) const
T min(const Vector< T, Allocator > &v)
void diameterMinMax(real &minD, real &maxD) const
const auto material(label i) const