this class wraps a GeometryVector and provides some basic functionality, like reading Geometry files More...
#include <Geometry.hpp>
this class wraps a GeometryVector and provides some basic functionality, like reading Geometry files
Definition at line 20 of file Geometry.hpp.
Public Member Functions | |
Geometry () | |
Default constructor. | |
Geometry (const std::string &filename) | |
Constructor. More... | |
Geometry (Geometry &&other) | |
Move constructor. | |
Geometry (const Geometry &other) | |
Copy constructor. More... | |
Geometry (const PatchVector &in) | |
Copy constructor. More... | |
Geometry & | operator= (Geometry other) |
Copy assignment operator for the Geometry class. More... | |
void | init_Geometry (const std::string &filename) |
Initialize the geometry from a geometry given by a file. More... | |
const PatchVector & | get_geometry () const |
Return const reference to the geometry. More... | |
PatchVector & | get_geometry () |
Return reference to the geometry. More... | |
const std::shared_ptr< PatchVector > | get_geometry_ptr () const |
Return const pointer to the geometry. More... | |
std::shared_ptr< PatchVector > | get_geometry_ptr () |
Return pointer to the geometry. More... | |
int | get_number_of_patches () const |
Get number of patches. More... | |
|
inlineexplicit |
Constructor.
This constructor initializes a geometry specified in a given file. We can handle .dat and .igs at the moment.
filename | File name of the .dat or .igs file. |
Definition at line 37 of file Geometry.hpp.
|
inline |
Copy constructor.
Though we are using a shared pointer, we are creating an actual copy here. might be useful if we want to modify the geometry object.
Definition at line 48 of file Geometry.hpp.
|
inlineexplicit |
Copy constructor.
Though we are using a shared pointer, we are creating an actual copy here. might be useful if we want to modify the geometry object.
in | Geometry provided as PatchVector. |
Definition at line 60 of file Geometry.hpp.
|
inline |
Return reference to the geometry.
Definition at line 117 of file Geometry.hpp.
|
inline |
Return const reference to the geometry.
Definition at line 111 of file Geometry.hpp.
|
inline |
Return pointer to the geometry.
Definition at line 131 of file Geometry.hpp.
|
inline |
Return const pointer to the geometry.
Definition at line 123 of file Geometry.hpp.
|
inline |
|
inline |
Initialize the geometry from a geometry given by a file.
Note that the Shredder is required. The order of ansatz functions allows to be chosen higher than the smoothness of the NÙRBS mappings. Thus, we need to shredder the geometry mappings to have Bezier patches. You can achieve the higher regularity by changing coefficients in the projector.
filename | Filename of a .dat or .igs file. |
Definition at line 89 of file Geometry.hpp.
Copy assignment operator for the Geometry class.
This copy assignment operator is explicitly deleted to prevent copying of Geometry objects.
Definition at line 72 of file Geometry.hpp.