KASKADE 7 development version
Classes | Public Member Functions | List of all members
Kaskade::AnsysMeshReader Class Reference

Reader for Ansys *.inp grid files. More...

#include <ansysmeshreader.hh>

Detailed Description

Reader for Ansys *.inp grid files.

Definition at line 58 of file ansysmeshreader.hh.

Public Member Functions

 AnsysMeshReader (double scale_=1.0, int verbose_=0)
 Constructor. More...
 
template<class Grid , class Scalar >
std::unique_ptr< Grid > readGrid (std::string const &fileName, int initialGridSize=1000)
 Reads an Ansys file and creates a corresponding grid. More...
 
template<class FSElement >
void readElementSetIds (FSElement &element) const
 Extracts the element set id of each cell and stores it in the coefficient of a discontinuous P0 FE function. More...
 

Constructor & Destructor Documentation

◆ AnsysMeshReader()

Kaskade::AnsysMeshReader::AnsysMeshReader ( double  scale_ = 1.0,
int  verbose_ = 0 
)
inlineexplicit

Constructor.

Parameters
scaleScale geometry by the given factor. Use this to convert the geometry to SI units.
verboseOutput level to standard out (0=no output (default), 1=status messages, 2=debug messages).

Definition at line 66 of file ansysmeshreader.hh.

Member Function Documentation

◆ readElementSetIds()

template<class FSElement >
void Kaskade::AnsysMeshReader::readElementSetIds ( FSElement &  element) const
inline

Extracts the element set id of each cell and stores it in the coefficient of a discontinuous P0 FE function.

Definition at line 190 of file ansysmeshreader.hh.

◆ readGrid()

template<class Grid , class Scalar >
std::unique_ptr< Grid > Kaskade::AnsysMeshReader::readGrid ( std::string const &  fileName,
int  initialGridSize = 1000 
)
inline

Reads an Ansys file and creates a corresponding grid.

Parameters
fileName
initialGridSize

Definition at line 75 of file ansysmeshreader.hh.


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