1.8.0
CCC
 
Loading...
Searching...
No Matches
gstlrn::MeshSphericalExt Class Reference

#include <MeshSphericalExt.hpp>

Inheritance diagram for gstlrn::MeshSphericalExt:
gstlrn::MeshSpherical gstlrn::AMesh gstlrn::AStringable gstlrn::ASerializable

Detailed Description

Meshing defined in the Euclidean space

Public Member Functions

 MeshSphericalExt ()
 
 MeshSphericalExt (const MeshSphericalExt &m)
 
MeshSphericalExtoperator= (const MeshSphericalExt &m)
 
virtual ~MeshSphericalExt ()
 
Id resetFromDb (Db *dbin, Db *dbout, const String &triswitch="nqQ", bool verbose=false)
 
- Public Member Functions inherited from gstlrn::MeshSpherical
 MeshSpherical (const MatrixDense &apices=MatrixDense(), const MatrixInt &meshes=MatrixInt())
 
 MeshSpherical (const MeshSpherical &m)
 
MeshSphericaloperator= (const MeshSpherical &m)
 
virtual ~MeshSpherical ()
 
String toString (const AStringFormat *strfmt=nullptr) const override
 Interface to AStringable.
 
Id getNApices () const override
 Interface to AMesh.
 
Id getNMeshes () const override
 
double getMeshSize (Id imesh) const override
 
Id getApex (Id imesh, Id rank) const override
 
double getCoor (Id imesh, Id rank, Id idim) const override
 
double getApexCoor (Id i, Id idim) const override
 
Id getEmbeddedNDim () const override
 
void getEmbeddedCoorPerMesh (Id imesh, Id ic, 1 &coords) const override
 
void getEmbeddedCoorPerApex (Id iapex, 1 &coords) const override
 
void getBarycenterInPlace (Id imesh, vect coord) const override
 
Id reset (Id ndim, Id napexpermesh, const 1 &apices, const 1 &meshes, bool byCol, bool verbose=false)
 
Id getVariety () const override
 
const MatrixDensegetApices () const
 
const MatrixIntgetMeshes () const
 
 getMeshesAsVVI () const
 
- Public Member Functions inherited from gstlrn::AMesh
 AMesh ()
 
 AMesh (const AMesh &m)
 
AMeshoperator= (const AMesh &m)
 
virtual ~AMesh ()
 
virtual Id getNApexPerMesh () const
 Interface for AMesh.
 
virtual void getCoordinatesPerMeshInPlace (Id imesh, Id rank, 1 &coords) const
 
virtual void getApexCoordinatesInPlace (Id i, 1 &coords) const
 
virtual void resetProjFromDb (ProjMatrix *m, const Db *db, Id rankZ=-1, bool verbose=false) const
 
ProjMatrixcreateProjMatrix (const Db *db, Id rankZ=-1, bool verbose=false) const
 
Id getNDim () const
 
double getExtendMin (Id idim) const
 
double getExtendMax (Id idim) const
 
 getExtrema (Id idim) const
 
void getElements (MatrixDense &apices, MatrixInt &meshes) const
 
Id isCompatibleDb (const Db *db) const
 
 getMeshSizes () const
 
void printMesh (Id imesh0=-1) const
 
void printMeshes (Id level=0, Id nline_max=-1) const
 
 getCoordinatesPerApex (Id idim) const
 
 getMeshByApexPair (Id apex1, Id apex2) const
 
 getCoordinatesPerMesh (Id imesh, Id idim, bool flagClose=false) const
 
 getApexCoordinates (Id iapex) const
 
 getCoordinatesPerMesh (Id imesh) const
 
 getEmbeddedCoordinatesPerMesh (Id imesh=0) const
 
void getEmbeddedCoordinatesPerMeshInPlace (Id imesh, 1 &vec) const
 
 getEmbeddedCoordinatesPerApex () const
 
 getDistances (Id iapex0, const 1 &japices=1()) const
 
 getAllCoordinates () const
 
MatrixDense getAllApices () const
 
MatrixInt getAllMeshes () const
 
double getCenterCoordinate (Id imesh, Id idim) const
 
 getAllCenterCoordinates () const
 
 getNeighborhoodPerMesh () const
 
 getNeighborhoodPerApex () const
 
- Public Member Functions inherited from gstlrn::AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (Id level) const final
 
- Public Member Functions inherited from gstlrn::ASerializable
 ASerializable ()
 
 ASerializable (const ASerializable &r)
 
ASerializableoperator= (const ASerializable &r)
 
 ASerializable (ASerializable &&r) noexcept
 
ASerializableoperator= (ASerializable &&r) noexcept
 
virtual ~ASerializable ()
 
bool dumpToNF (const String &NFFilename, const EFormatNF &format=EFormatNF::fromKey("DEFAULT"), bool verbose=false) const
 Dump the contents of an object into an Output File using a given Output NF Format.
 
void setDefaultFormatNF (const EFormatNF &format)
 

Static Public Member Functions

static AMeshspde_mesh_load (Db *dbin, Db *dbout=nullptr, const 1 &gext=1(), const String &triswitch="-r2", bool verbose=false)
 
- Static Public Member Functions inherited from gstlrn::MeshSpherical
static MeshSphericalcreateFromNF (const String &NFFilename, bool verbose=true)
 
static MeshSphericalcreate (const MatrixDense &apices=MatrixDense(), const MatrixInt &meshes=MatrixInt())
 
- Static Public Member Functions inherited from gstlrn::AMesh
static void dumpNeighborhood (std::vector< 1 > &Vmesh, Id nline_max=1)
 
- Static Public Member Functions inherited from gstlrn::ASerializable
static String buildFileName (Id status, const String &filename, bool ensureDirExist=false)
 
static String getFileIdentity (const String &filename, bool verbose=false)
 
static void setPrefixName (const String &prefixName)
 
static void unsetPrefixName ()
 
static const StringgetPrefixName ()
 

Constructor & Destructor Documentation

◆ MeshSphericalExt() [1/2]

gstlrn::MeshSphericalExt::MeshSphericalExt ( )

◆ MeshSphericalExt() [2/2]

gstlrn::MeshSphericalExt::MeshSphericalExt ( const MeshSphericalExt m)

◆ ~MeshSphericalExt()

gstlrn::MeshSphericalExt::~MeshSphericalExt ( )
virtual

Member Function Documentation

◆ operator=()

MeshSphericalExt & gstlrn::MeshSphericalExt::operator= ( const MeshSphericalExt m)

◆ resetFromDb()

Id gstlrn::MeshSphericalExt::resetFromDb ( Db dbin,
Db dbout,
const String triswitch = "nqQ",
bool  verbose = false 
)

Create the meshing

Parameters
[in]dbinPointer to the input Db (optional)
[in]dboutPointer to the output Db (optional)
[in]triswitchConstruction switch
[in]verboseVerbose flag

◆ spde_mesh_load()

AMesh * gstlrn::MeshSphericalExt::spde_mesh_load ( Db dbin,
Db dbout = nullptr,
const 1 &  gext = 1(),
const String triswitch = "-r2",
bool  verbose = false 
)
static

Load the AMesh structure

Returns
Pointer on the newly allocated AMesh
Parameters
[in]dbinDb structure for the conditioning data
[in]dboutDb structure of the grid
[in]gextArray of domain dilation
[in]triswitchTriswitch option
[in]verboseVerbose option

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