Go to the documentation of this file.
22 template<
class T,
class MemorySpace>
41 template<
class T,
class MemorySpace>
53 IOPattern::AllProcessorsSimilar,
72 if(IOobject::implyRead())
81 if( !IOobject::readObject() )
84 "Error in reading from file "<<IOobject::path()<<
endl;
89 template <
class T,
class MemorySpace>
108 template <
class T,
class MemorySpace>
124 objectFile::READ_NEVER,
127 IOPattern::AllProcessorsSimilar,
144 defaultValue_(defVal)
148 template <
class T,
class MemorySpace>
155 return field_.write(is, iop);
158 template <
class T,
class MemorySpace>
165 return field_.read(is, iop);
#define fatalExit
Fatal exit.
bool read(iIstream &is, const IOPattern &iop) override
bool write(iOstream &is, const IOPattern &iop) const override
iOstream & endl(iOstream &os)
Add newline and flush stream.
Interface class for any input stream
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
virtual const word & name() const
triSurfaceField(const objectFile &objf, multiTriSurface &surface, const T &defVal)
virtual const fileSystem & localPath() const
Interface class for any output stream.
INLINE_FUNCTION_HD real surface(const realx3 &p1, const realx3 &p2, const realx3 &p3)