Public Member Functions | Static Public Member Functions | List of all members
ABAQUSsurfaceFormat< Face > Class Template Reference

Abaqus surface reader. More...

Inheritance diagram for ABAQUSsurfaceFormat< Face >:
Inheritance graph
[legend]
Collaboration diagram for ABAQUSsurfaceFormat< Face >:
Collaboration graph
[legend]

Public Member Functions

 ABAQUSsurfaceFormat ()=default
 
 ABAQUSsurfaceFormat (const fileName &filename)
 
virtual ~ABAQUSsurfaceFormat ()=default
 
virtual bool read (const fileName &filename)
 
virtual void write (const fileName &name, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const
 
- Public Member Functions inherited from MeshedSurface< Face >
 MeshedSurface ()
 
 MeshedSurface (const MeshedSurface &surf)
 
 MeshedSurface (const UnsortedMeshedSurface< Face > &surf)
 
 MeshedSurface (MeshedSurface &&surf)
 
 MeshedSurface (UnsortedMeshedSurface< Face > &&surf)
 
 MeshedSurface (const pointField &pointLst, const UList< Face > &faceLst, const UList< surfZone > &zoneLst)
 
 MeshedSurface (pointField &&pointLst, List< Face > &&faceLst, const UList< surfZone > &zoneLst)
 
 MeshedSurface (const pointField &pointLst, const UList< Face > &faceLst, const labelUList &zoneSizes=labelUList(), const UList< word > &zoneNames=UList< word >())
 
 MeshedSurface (pointField &&pointLst, List< Face > &&faceLst, const labelUList &zoneSizes=labelUList(), const UList< word > &zoneNames=UList< word >())
 
 MeshedSurface (const polyBoundaryMesh &bMesh, const bool globalPoints=false)
 
 MeshedSurface (const surfMesh &mesh)
 
 MeshedSurface (const fileName &name)
 
 MeshedSurface (const fileName &name, const word &fileType)
 
 MeshedSurface (Istream &is)
 
 MeshedSurface (const Time &runTime)
 
 MeshedSurface (const Time &runTime, const word &surfName)
 
 MeshedSurface (const IOobject &io, const dictionary &dict, const bool isGlobal=true)
 
 MeshedSurface ()
 
 MeshedSurface (const MeshedSurface< Face > &surf)
 
 MeshedSurface (const UnsortedMeshedSurface< Face > &surf)
 
 MeshedSurface (MeshedSurface< Face > &&surf)
 
 MeshedSurface (UnsortedMeshedSurface< Face > &&surf)
 
 MeshedSurface (const pointField &pointLst, const UList< Face > &faceLst, const UList< surfZone > &zoneLst)
 
 MeshedSurface (pointField &&pointLst, List< Face > &&faceLst, const UList< surfZone > &zoneLst)
 
 MeshedSurface (const pointField &pointLst, const UList< Face > &faceLst, const labelUList &zoneSizes, const UList< word > &zoneNames)
 
 MeshedSurface (pointField &&pointLst, List< Face > &&faceLst, const labelUList &zoneSizes, const UList< word > &zoneNames)
 
 MeshedSurface (const surfMesh &mesh)
 
 MeshedSurface (const polyBoundaryMesh &bMesh, const bool useGlobalPoints)
 
 MeshedSurface (const fileName &name, const word &fileType)
 
 MeshedSurface (const fileName &name)
 
 MeshedSurface (Istream &is)
 
 MeshedSurface (const Time &runTime)
 
 MeshedSurface (const Time &runTime, const word &surfName)
 
 MeshedSurface (const IOobject &io, const dictionary &dict, const bool isGlobal)
 
bool read (const fileName &name, const word &fileType)
 
virtual void write (const fileName &name, const word &fileType, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const
 
void write (const Time &runTime, const word &surfName=word::null) const
 
 ClassName ("MeshedSurface")
 
 declareRunTimeSelectionTable (autoPtr, MeshedSurface, fileExtension,(const fileName &name),(name))
 
virtual ~MeshedSurface ()
 
 declareMemberFunctionSelectionTable (void, UnsortedMeshedSurface, write, fileExtension,(const fileName &name, const MeshedSurface< Face > &surf, IOstreamOption streamOpt, const dictionary &options),(name, surf, streamOpt, options))
 
label size () const
 
const List< Face > & surfFaces () const
 
const labelListfaceIds () const
 
const surfZoneListsurfZones () const
 
const vectorFieldSf () const
 
const scalarFieldmagSf () const
 
const vectorFieldCf () const
 
virtual void clear ()
 
virtual void addZones (const UList< surfZone > &, const bool cullEmpty=false)
 
virtual void addZones (const labelUList &sizes, const UList< word > &names, const bool cullEmpty=false)
 
virtual void addZones (const labelUList &sizes, const bool cullEmpty=false)
 
bool addZonesToFaces ()
 
bool addZonesToFaces ()
 
bool addZonesToFaces ()
 
virtual void removeZones ()
 
virtual void movePoints (const pointField &newPoints)
 
virtual void scalePoints (const scalar scaleFactor)
 
virtual void cleanup (const bool verbose)
 
virtual void compactPoints (labelList &pointMap=const_cast< labelList & >(labelList::null()))
 
virtual bool stitchFaces (const scalar tol=SMALL, const bool verbose=false)
 
virtual bool checkFaces (const bool verbose=false)
 
virtual label nTriangles () const
 
virtual label nTriangles (labelList &faceMap) const
 
virtual label triangulate ()
 
virtual label triangulate (labelList &faceMap)
 
void subsetMeshMap (const BoolListType &include, labelList &pointMap, labelList &faceMap) const
 
MeshedSurface subsetMesh (const UList< bool > &include, labelList &pointMap, labelList &faceMap) const
 
MeshedSurface subsetMesh (const bitSet &include, labelList &pointMap, labelList &faceMap) const
 
MeshedSurface subsetMesh (const UList< bool > &include) const
 
MeshedSurface subsetMesh (const bitSet &include) const
 
MeshedSurface subsetMesh (const wordRes &includeNames, const wordRes &excludeNames=wordRes()) const
 
void swap (MeshedSurface< Face > &surf)
 
void transfer (pointField &pointLst, List< Face > &faceLst)
 
void transfer (MeshedSurface< Face > &surf)
 
void transfer (UnsortedMeshedSurface< Face > &surf)
 
autoPtr< MeshedSurface< Face > > releaseGeom ()
 
void swapFaces (List< Face > &faces)
 
void swapPoints (pointField &points)
 
void writeStats (Ostream &os) const
 
void operator= (const MeshedSurface< Face > &surf)
 
void operator= (MeshedSurface< Face > &&surf)
 
 operator MeshedSurfaceProxy< Face > () const
 

Static Public Member Functions

static void write (const fileName &filename, const MeshedSurfaceProxy< Face > &surf, IOstreamOption streamOpt=IOstreamOption(), const dictionary &=dictionary::null)
 
- Static Public Member Functions inherited from MeshedSurface< Face >
static void write (const fileName &name, const MeshedSurface< Face > &surf, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null)
 
static void write (const fileName &name, const word &fileType, const MeshedSurface< Face > &surf, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null)
 
static wordHashSet readTypes ()
 
static wordHashSet writeTypes ()
 
static bool canReadType (const word &fileType, bool verbose=false)
 
static bool canWriteType (const word &fileType, bool verbose=false)
 
static bool canRead (const fileName &name, bool verbose=false)
 
static autoPtr< MeshedSurfaceNew (const fileName &name, const word &fileType, bool mandatory=true)
 
static autoPtr< MeshedSurfaceNew (const fileName &name)
 
- Static Public Member Functions inherited from ABAQUSCore
static shapeType getElementType (const std::string &elemTypeName)
 
static int nPoints (shapeType tag)
 
static bool isValidType (shapeType tag)
 
static bool isShellType (shapeType tag)
 
static bool isSolidType (shapeType tag)
 
static bool isEncodedSolidId (const label combinedId)
 
static label encodeSolidId (const label id, const label side)
 
static label decodeSolidElementId (const label combinedId)
 
static label decodeSolidSideNum (const label combinedId)
 
static void writePoints (Ostream &os, const UList< point > &points, const scalar scaleFactor=1.0)
 
static label faceDecomposition (const UList< point > &points, const UList< face > &faces, labelList &decompOffsets, DynamicList< face > &decompFaces)
 

Additional Inherited Members

- Public Types inherited from MeshedSurface< Face >
typedef Face face_type
 
typedef point point_type
 
- Public Types inherited from ABAQUSCore
enum  shapeType : uint8_t {
  abaqusUnknownShape = 0, abaqusTria = 0x03, abaqusQuad = 0x04, abaqusTet = 0x84,
  abaqusPyr = 0x85, abaqusPrism = 0x86, abaqusHex = 0x88
}
 
- Protected Member Functions inherited from MeshedSurface< Face >
void transcribe (MeshedSurface< face > &surf)
 
void transcribe (MeshedSurface< face > &surf)
 
void transcribe (MeshedSurface< face > &surf)
 
void transcribe (MeshedSurface< face > &surf)
 
void checkZones (const bool verbose=true)
 
pointFieldstoredPoints ()
 
List< Face > & storedFaces ()
 
labelListstoredFaceIds ()
 
surfZoneListstoredZones ()
 
void sortFacesAndStore (DynamicList< Face > &unsortedFaces, DynamicList< label > &zoneIds, DynamicList< label > &elemIds, bool sorted)
 
virtual void remapFaces (const labelUList &faceMapNewToOld)
 
- Protected Member Functions inherited from ABAQUSCore
 ABAQUSCore ()=default
 
- Static Protected Member Functions inherited from ABAQUSCore
static void renumber0_elemId (label &elemId)
 
static const Map< labelList > & abaqusToFoamFaceAddr ()
 

Detailed Description

template<class Face>
class Foam::fileFormats::ABAQUSsurfaceFormat< Face >

Abaqus surface reader.

Output stream options:

Output dictionary options: ignored

Source files

Definition at line 58 of file ABAQUSsurfaceFormat.H.

Constructor & Destructor Documentation

◆ ABAQUSsurfaceFormat() [1/2]

ABAQUSsurfaceFormat ( )
default

◆ ABAQUSsurfaceFormat() [2/2]

ABAQUSsurfaceFormat ( const fileName filename)
explicit

Definition at line 108 of file ABAQUSsurfaceFormat.C.

References Foam::blockMeshTools::read().

Here is the call graph for this function:

◆ ~ABAQUSsurfaceFormat()

virtual ~ABAQUSsurfaceFormat ( )
virtualdefault

Member Function Documentation

◆ write() [1/2]

void write ( const fileName filename,
const MeshedSurfaceProxy< Face > &  surf,
IOstreamOption  streamOpt = IOstreamOption(),
const dictionary = dictionary::null 
)
static

◆ read()

bool read ( const fileName filename)
virtual

◆ write() [2/2]

virtual void write ( const fileName name,
IOstreamOption  streamOpt = IOstreamOption(),
const dictionary options = dictionary::null 
) const
inlinevirtual

Reimplemented from MeshedSurface< Face >.

Definition at line 113 of file ABAQUSsurfaceFormat.H.

References Foam::name(), and ABAQUSsurfaceFormat< Face >::write().

Here is the call graph for this function:

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