MeshedSurfaceIOAllocator Class Reference

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

Inheritance diagram for MeshedSurfaceIOAllocator:

Public Member Functions

 MeshedSurfaceIOAllocator (const MeshedSurfaceIOAllocator &)=delete
 No copy construct. More...
 
void operator= (const MeshedSurfaceIOAllocator &)=delete
 No copy assignment. More...
 
 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 ()=default
 Destructor. More...
 
void setInstance (const fileName &inst)
 Set the instance for mesh files. More...
 
void setWriteOption (IOobjectOption::writeOption wOpt)
 Adjust the write option for all components. More...
 
pointIOFieldstoredIOPoints () noexcept
 Non-const access to the points. More...
 
faceCompactIOListstoredIOFaces () noexcept
 Non-const access to the faces. More...
 
const pointIOFieldstoredIOPoints () const noexcept
 Const access to the points. More...
 
const faceCompactIOListstoredIOFaces () const noexcept
 Const access to the faces. More...
 
void clear ()
 Clear primitive data (points, faces) More...
 
virtual bool writeObject (IOstreamOption streamOpt, const bool writeOnProc) const
 Write using stream options. More...
 

Detailed Description

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

Source files

Definition at line 50 of file MeshedSurfaceIOAllocator.H.

Constructor & Destructor Documentation

◆ MeshedSurfaceIOAllocator() [1/4]

No copy construct.

◆ MeshedSurfaceIOAllocator() [2/4]

MeshedSurfaceIOAllocator ( const IOobject ioPoints,
const IOobject ioFaces 
)

Read construct from IOobjects.

Definition at line 27 of file MeshedSurfaceIOAllocator.C.

◆ MeshedSurfaceIOAllocator() [3/4]

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

Construct from IOobjects, copying components.

Definition at line 38 of file MeshedSurfaceIOAllocator.C.

◆ MeshedSurfaceIOAllocator() [4/4]

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

Construct from IOobjects, moving components.

Definition at line 49 of file MeshedSurfaceIOAllocator.C.

◆ ~MeshedSurfaceIOAllocator()

virtual ~MeshedSurfaceIOAllocator ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator=()

void operator= ( const MeshedSurfaceIOAllocator )
delete

No copy assignment.

◆ setInstance()

void setInstance ( const fileName inst)

Set the instance for mesh files.

Definition at line 62 of file MeshedSurfaceIOAllocator.C.

◆ setWriteOption()

void setWriteOption ( IOobjectOption::writeOption  wOpt)

Adjust the write option for all components.

Definition at line 72 of file MeshedSurfaceIOAllocator.C.

Referenced by surfMesh::setWriteOption().

Here is the caller graph for this function:

◆ storedIOPoints() [1/2]

pointIOField& storedIOPoints ( )
inlinenoexcept

Non-const access to the points.

Definition at line 135 of file MeshedSurfaceIOAllocator.H.

Referenced by surfMesh::storedPoints().

Here is the caller graph for this function:

◆ storedIOFaces() [1/2]

faceCompactIOList& storedIOFaces ( )
inlinenoexcept

Non-const access to the faces.

Definition at line 143 of file MeshedSurfaceIOAllocator.H.

Referenced by surfMesh::storedFaces().

Here is the caller graph for this function:

◆ storedIOPoints() [2/2]

const pointIOField& storedIOPoints ( ) const
inlinenoexcept

Const access to the points.

Definition at line 151 of file MeshedSurfaceIOAllocator.H.

◆ storedIOFaces() [2/2]

const faceCompactIOList& storedIOFaces ( ) const
inlinenoexcept

Const access to the faces.

Definition at line 159 of file MeshedSurfaceIOAllocator.H.

◆ clear()

void clear ( )

Clear primitive data (points, faces)

Definition at line 81 of file MeshedSurfaceIOAllocator.C.

References List< T >::clear().

Here is the call graph for this function:

◆ writeObject()

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

Write using stream options.

Reimplemented in surfMesh.

Definition at line 89 of file MeshedSurfaceIOAllocator.C.


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