Public Types | |
using | triSurfaceFieldType = triSurfaceField< T, MemorySpace > |
using | FieldType = Field< T, MemorySpace > |
using | VectorType = typename FieldType::VectorType |
using | memory_space = typename FieldType::memory_space |
using | execution_space = typename FieldType::execution_space |
![]() | |
enum | readFlag { READ_ALWAYS, READ_NEVER, READ_IF_PRESENT } |
enum | writeFlag { WRITE_ALWAYS, WRITE_NEVER } |
Public Member Functions | |
TypeInfoTemplate111 ("triSurfaceField", T, VectorType::memoerySpaceName()) | |
triSurfaceField (const objectFile &objf, multiTriSurface &surface, const T &defVal) | |
triSurfaceField (const objectFile &objf, repository *owner, multiTriSurface &surface, const T &defVal) | |
triSurfaceField (const objectFile &objf, multiTriSurface &surface, const T &val, const T &defVal) | |
triSurfaceField (const objectFile &objf, repository *owner, multiTriSurface &surface, const T &val, const T &defVal) | |
~triSurfaceField () override=default | |
const auto & | surface () const |
auto | size () const |
auto | capacity () const |
void | assign (const std::vector< T > &vals) |
const auto & | deviceViewAll () const |
auto | deviceView () const |
auto | hostView () const |
const FieldType & | field () const |
FieldType & | field () |
void | fill (const T &val) |
bool | hearChanges (real t, real dt, uint32 iter, const message &msg, const anyList &varList) override |
bool | write (iOstream &is, const IOPattern &iop) const override |
bool | read (iIstream &is, const IOPattern &iop) override |
![]() | |
virtual word | typeName () const =0 |
IOobject (const objectFile &objf, const IOPattern &iop, repository *owner) | |
~IOobject () override | |
IOobject (const IOobject &src)=delete | |
IOobject (IOobject &&src)=delete | |
const IOPattern & | ioPattern () const |
const repository * | owner () const override |
repository * | owner () |
repository * | releaseOwner (bool fromOwner=false) |
bool | isIncluded (const word &objName) const override |
bool | isExcluded (const word &objName) const override |
bool | readObject (bool rdHdr=true) |
bool | writeObject () const |
bool | readObject (iIstream &is, bool rdHdr=true) |
bool | writeObject (iOstream &os) const |
![]() | |
IOfileHeader (const objectFile &objf) | |
const word & | objectName () const |
const word & | objectType () const |
fileSystem | path () const |
bool | outFileBinary () const |
bool | inFileBinary () const |
bool | headerOk (bool silent=false) |
bool | implyRead () const |
Imply read. More... | |
bool | implyWrite () const |
Imply write. More... | |
bool | fileExist () const |
Check if file exists. More... | |
bool | readIfPresent () const |
Check read if present. More... | |
bool | writeHeader () const |
Check if the header should be written to file True: on master + implyWrite + readWriteHeader = true False: otherwise. More... | |
bool | writeHeader (iOstream &os, const word &typeName, bool forceWrite=false) const |
Write the header to the file , typeName comes from caller. More... | |
bool | writeHeader (iOstream &os, bool forceWrite=false) const |
Write the header to the file, typeName comes from the one read from file. More... | |
bool | readHeader () const |
Check if header should be read from file. More... | |
bool | readHeader (iIstream &is, bool silent=false) |
Read the header in the file. More... | |
bool | writeBanner (iOstream &os) const |
write the banner More... | |
bool | writeSeparator (iOstream &os) const |
wirte a separator line More... | |
![]() | |
objectFile (const word &name) | |
objectFile (const word &name, const fileSystem &localPath, const readFlag &rf=readFlag::READ_NEVER, const writeFlag &wf=writeFlag::WRITE_NEVER, bool rwHeader=true) | |
objectFile (const objectFile &src)=default | |
objectFile (objectFile &&src)=default | |
objectFile & | operator= (const objectFile &rhs)=default |
objectFile & | operator= (objectFile &&rhs)=default |
virtual | ~objectFile ()=default |
virtual const word & | name () const |
virtual const fileSystem & | localPath () const |
readFlag | rFlag () const |
writeFlag | wFlag () const |
bool | isReadAlways () const |
bool | isReadNever () const |
bool | isReadIfPresent () const |
bool | isWriteAlways () const |
bool | isWriteNever () const |
bool | readWriteHeader () const |
![]() | |
observer (message msg) | |
observer (const subscriber *subscrbr, message msg) | |
virtual | ~observer () |
void | subscribe (const subscriber *subscrbr, message msg) |
observer & | addEvent (message::EVENT event) |
bool | subscribed () const |
void | addToSubscriber (const subscriber *subscrbr, message msg) |
bool | addToSubscriber (const subscriber &subscriber) |
Private Attributes | |
FieldType | field_ |
const multiTriSurface & | surface_ |
T | defaultValue_ |
Additional Inherited Members | |
![]() | |
static constexpr auto | numEvents () |
![]() | |
uniquePtr< iFstream > | inStream () const |
uniquePtr< oFstream > | outStream () const |
uniquePtr< oFstream > | dummyOutStream () const |
![]() | |
word | objectName_ |
word | objectType_ |
word | fileFormat_ = "ASCII" |
file format read from file More... | |
Definition at line 35 of file triSurfaceField.hpp.
using triSurfaceFieldType = triSurfaceField<T, MemorySpace> |
Definition at line 42 of file triSurfaceField.hpp.
Definition at line 44 of file triSurfaceField.hpp.
using VectorType = typename FieldType::VectorType |
Definition at line 46 of file triSurfaceField.hpp.
using memory_space = typename FieldType::memory_space |
Definition at line 48 of file triSurfaceField.hpp.
using execution_space = typename FieldType::execution_space |
Definition at line 50 of file triSurfaceField.hpp.
triSurfaceField | ( | const objectFile & | objf, |
multiTriSurface & | surface, | ||
const T & | defVal | ||
) |
Definition at line 24 of file triSurfaceField.cpp.
triSurfaceField | ( | const objectFile & | objf, |
repository * | owner, | ||
multiTriSurface & | surface, | ||
const T & | defVal | ||
) |
Definition at line 43 of file triSurfaceField.cpp.
triSurfaceField | ( | const objectFile & | objf, |
multiTriSurface & | surface, | ||
const T & | val, | ||
const T & | defVal | ||
) |
Definition at line 91 of file triSurfaceField.cpp.
triSurfaceField | ( | const objectFile & | objf, |
repository * | owner, | ||
multiTriSurface & | surface, | ||
const T & | val, | ||
const T & | defVal | ||
) |
Definition at line 110 of file triSurfaceField.cpp.
|
overridedefault |
TypeInfoTemplate111 | ( | "triSurfaceField< T, MemorySpace >" | , |
T | , | ||
VectorType::memoerySpaceName() | |||
) |
|
inline |
Definition at line 105 of file triSurfaceField.hpp.
|
inline |
Definition at line 111 of file triSurfaceField.hpp.
|
inline |
Definition at line 117 of file triSurfaceField.hpp.
|
inline |
Definition at line 123 of file triSurfaceField.hpp.
Referenced by geometry::createPropertyId().
|
inline |
Definition at line 134 of file triSurfaceField.hpp.
|
inline |
Definition at line 139 of file triSurfaceField.hpp.
|
inline |
Definition at line 145 of file triSurfaceField.hpp.
|
inline |
Definition at line 151 of file triSurfaceField.hpp.
|
inline |
Definition at line 157 of file triSurfaceField.hpp.
|
inline |
Definition at line 163 of file triSurfaceField.hpp.
|
inlineoverridevirtual |
Implements observer.
Definition at line 168 of file triSurfaceField.hpp.
Implements IOobject.
Definition at line 150 of file triSurfaceField.cpp.
Implements IOobject.
Definition at line 160 of file triSurfaceField.cpp.
|
private |
Definition at line 56 of file triSurfaceField.hpp.
Referenced by triSurfaceField< uint32 >::assign(), triSurfaceField< uint32 >::capacity(), triSurfaceField< uint32 >::deviceView(), triSurfaceField< uint32 >::deviceViewAll(), triSurfaceField< uint32 >::field(), triSurfaceField< uint32 >::fill(), triSurfaceField< uint32 >::hostView(), and triSurfaceField< uint32 >::size().
|
private |
Definition at line 58 of file triSurfaceField.hpp.
Referenced by triSurfaceField< uint32 >::assign(), and triSurfaceField< uint32 >::surface().
|
private |
Definition at line 61 of file triSurfaceField.hpp.