Loading...
Searching...
No Matches
MeshedSurfaceIOAllocator Class Reference

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

#include <MeshedSurfaceIOAllocator.H>

Inheritance diagram for MeshedSurfaceIOAllocator:

Public Member Functions

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

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]

MeshedSurfaceIOAllocator ( const MeshedSurfaceIOAllocator & )
delete

No copy construct.

References MeshedSurfaceIOAllocator().

Referenced by MeshedSurfaceIOAllocator(), and operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MeshedSurfaceIOAllocator() [2/4]

MeshedSurfaceIOAllocator ( const IOobject & ioPoints,
const IOobject & ioFaces )

Read construct from IOobjects.

Definition at line 26 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 37 of file MeshedSurfaceIOAllocator.C.

References points.

◆ MeshedSurfaceIOAllocator() [4/4]

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

Construct from IOobjects, moving components.

Definition at line 48 of file MeshedSurfaceIOAllocator.C.

References points.

◆ ~MeshedSurfaceIOAllocator()

virtual ~MeshedSurfaceIOAllocator ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator=()

void operator= ( const MeshedSurfaceIOAllocator & )
delete

No copy assignment.

References MeshedSurfaceIOAllocator(), and points.

Here is the call graph for this function:

◆ setInstance()

void setInstance ( const fileName & inst)

Set the instance for mesh files.

Definition at line 61 of file MeshedSurfaceIOAllocator.C.

Referenced by surfMesh::setInstance().

Here is the caller graph for this function:

◆ setWriteOption()

void setWriteOption ( IOobjectOption::writeOption wOpt)

Adjust the write option for all components.

Definition at line 71 of file MeshedSurfaceIOAllocator.C.

Referenced by surfMesh::setWriteOption().

Here is the caller graph for this function:

◆ storedIOPoints() [1/2]

pointIOField & storedIOPoints ( )
inlinenoexcept

◆ storedIOFaces() [1/2]

faceCompactIOList & storedIOFaces ( )
inlinenoexcept

◆ storedIOPoints() [2/2]

const pointIOField & storedIOPoints ( ) const
inlinenoexcept

Const access to the points.

Definition at line 151 of file MeshedSurfaceIOAllocator.H.

References Foam::noexcept.

◆ storedIOFaces() [2/2]

const faceCompactIOList & storedIOFaces ( ) const
inlinenoexcept

Const access to the faces.

Definition at line 159 of file MeshedSurfaceIOAllocator.H.

References Foam::noexcept.

◆ clear()

void clear ( )

Clear primitive data (points, faces).

Definition at line 81 of file MeshedSurfaceIOAllocator.C.

◆ writeObject()

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

Write using stream options.

Reimplemented in surfMesh.

Definition at line 88 of file MeshedSurfaceIOAllocator.C.

Referenced by surfMesh::writeObject().

Here is the caller graph for this function:

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