MeshedSurfaceIOAllocator Class Reference

A helper class for storing points and faces with IO capabilities. More...

Inheritance diagram for MeshedSurfaceIOAllocator:
[legend]

Public Member Functions

 MeshedSurfaceIOAllocator (const IOobject &ioPoints, const IOobject &ioFaces)
 Read construct from IOobjects. More...
 
 MeshedSurfaceIOAllocator (const IOobject &ioPoints, const pointField &points, const IOobject &ioFaces, const faceList &faces)
 Construct from IOobjects, copying components. More...
 
 MeshedSurfaceIOAllocator (const IOobject &ioPoints, pointField &&points, const IOobject &ioFaces, faceList &&faces)
 Construct from IOobjects, moving components. More...
 
virtual ~MeshedSurfaceIOAllocator ()
 Destructor. More...
 
void setInstance (const fileName &inst)
 Set the instance for mesh files. More...
 
void setWriteOption (IOobject::writeOption wOpt)
 Adjust the write option for all components. More...
 
pointIOFieldstoredIOPoints ()
 Non-const access to the points. More...
 
faceCompactIOListstoredIOFaces ()
 Non-const access to the faces. More...
 
const pointIOFieldstoredIOPoints () const
 Const access to the points. More...
 
const faceCompactIOListstoredIOFaces () const
 Const access to the faces. More...
 
void clear ()
 Clear primitive data (points, faces) More...
 
virtual bool writeObject (IOstreamOption streamOpt, const bool valid) const
 Write using stream options. More...
 

Detailed Description

A helper class for storing points and faces with IO capabilities.

Source files

Definition at line 54 of file MeshedSurfaceIOAllocator.H.

Constructor & Destructor Documentation

◆ MeshedSurfaceIOAllocator() [1/3]

MeshedSurfaceIOAllocator ( const IOobject ioPoints,
const IOobject ioFaces 
)

Read construct from IOobjects.

Definition at line 33 of file MeshedSurfaceIOAllocator.C.

◆ MeshedSurfaceIOAllocator() [2/3]

MeshedSurfaceIOAllocator ( const IOobject ioPoints,
const pointField points,
const IOobject ioFaces,
const faceList faces 
)

Construct from IOobjects, copying components.

Definition at line 44 of file MeshedSurfaceIOAllocator.C.

◆ MeshedSurfaceIOAllocator() [3/3]

MeshedSurfaceIOAllocator ( const IOobject ioPoints,
pointField &&  points,
const IOobject ioFaces,
faceList &&  faces 
)

Construct from IOobjects, moving components.

Definition at line 55 of file MeshedSurfaceIOAllocator.C.

◆ ~MeshedSurfaceIOAllocator()

Destructor.

Definition at line 68 of file MeshedSurfaceIOAllocator.C.

References clear().

Here is the call graph for this function:

Member Function Documentation

◆ setInstance()

void setInstance ( const fileName inst)

Set the instance for mesh files.

Definition at line 76 of file MeshedSurfaceIOAllocator.C.

Referenced by surfMesh::setInstance().

Here is the caller graph for this function:

◆ setWriteOption()

void setWriteOption ( IOobject::writeOption  wOpt)

Adjust the write option for all components.

Definition at line 86 of file MeshedSurfaceIOAllocator.C.

◆ storedIOPoints() [1/2]

pointIOField & storedIOPoints ( )
inline

Non-const access to the points.

Definition at line 118 of file MeshedSurfaceIOAllocator.H.

Referenced by surfMesh::storedPoints().

Here is the caller graph for this function:

◆ storedIOFaces() [1/2]

faceCompactIOList & storedIOFaces ( )
inline

Non-const access to the faces.

Definition at line 124 of file MeshedSurfaceIOAllocator.H.

Referenced by surfMesh::storedFaces().

Here is the caller graph for this function:

◆ storedIOPoints() [2/2]

const pointIOField & storedIOPoints ( ) const
inline

Const access to the points.

Definition at line 130 of file MeshedSurfaceIOAllocator.H.

◆ storedIOFaces() [2/2]

const faceCompactIOList & storedIOFaces ( ) const
inline

Const access to the faces.

Definition at line 136 of file MeshedSurfaceIOAllocator.H.

◆ clear()

void clear ( )

Clear primitive data (points, faces)

Definition at line 96 of file MeshedSurfaceIOAllocator.C.

◆ writeObject()

bool writeObject ( IOstreamOption  streamOpt,
const bool  valid 
) const
virtual

Write using stream options.

Reimplemented in surfMesh.

Definition at line 103 of file MeshedSurfaceIOAllocator.C.


The documentation for this class was generated from the following files: