1.11.1
CCC
 
Loading...
Searching...
No Matches
gstlrn::MeshEFaulted Class Reference

#include <MeshEFaulted.hpp>

Inheritance diagram for gstlrn::MeshEFaulted:
gstlrn::MeshEStandard gstlrn::AMesh gstlrn::AStringable gstlrn::ASerializable

Detailed Description

Faulted meshing defined in the Euclidean space

Public Member Functions

 MeshEFaulted ()
 
 MeshEFaulted (const MeshEFaulted &m)
 
MeshEFaultedoperator= (const MeshEFaulted &m)
 
virtual ~MeshEFaulted ()
 
String toString (const AStringFormat *strfmt=nullptr) const override
 Interface to AStringable.
 
String getNFName () const override
 ASeriazable interface.
 
Id reset (const MatrixDense &apices, const MatrixInt &meshes, const 1 &faultIds, bool verbose=false)
 
Id resetFromVectors (Id ndim, Id napexpermesh, const 1 &apices, const 1 &meshes, const 1 &faultIds, bool byCol=true, bool verbose=false)
 
Id reset (const MatrixDense &apices, const MatrixInt &meshes, bool verbose=false) override
 
Id resetFromVectors (Id ndim, Id napexpermesh, const 1 &apices, const 1 &meshes, bool byCol=true, bool verbose=false) override
 
Id resetFromTurbo (const MeshETurbo &turbo, bool verbose=false) override
 
Id getNVirtualFaultMeshes () const
 
const & getFaultIds () const
 
- Public Member Functions inherited from gstlrn::MeshEStandard
 MeshEStandard ()
 
 MeshEStandard (const MeshEStandard &m)
 
MeshEStandardoperator= (const MeshEStandard &m)
 
virtual ~MeshEStandard ()
 
String toString (const AStringFormat *strfmt=nullptr) const override
 Interface to AStringable.
 
String getNFName () const override
 ASeriazable interface.
 
Id getNApices () const override
 Interface for AMesh.
 
Id getNMeshes () 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
 
double getMeshSize (Id imesh) const override
 
 getMeshList () const
 
 getPointList (bool byCol=true) const
 
const MatrixDensegetApices () const
 
const MatrixIntgetMeshes () 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
 
virtual Id getVariety () const
 
virtual Id getEmbeddedNDim () const
 
virtual void getEmbeddedCoorPerMesh (Id imesh, Id ic, 1 &coords) const
 
virtual void getEmbeddedCoorPerApex (Id iapex, 1 &coords) const
 
virtual void getBarycenterInPlace (Id imesh, vect coord) 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
 
virtual getMeshApicesFromCoordinates (const 1 &coords) const
 
virtual Id getMeshFromCoordinates (const 1 &coords) const
 
virtual Id getMeshAndInPlaceWeightsFromCoordinates (const 1 &coords, 1 &weights) 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
 
const MatrixSparsegetAdjacentApicesMatrix () const
 
double getCenterCoordinate (Id imesh, Id idim) const
 
 getAllCenterCoordinates () const
 
 getNeighborhoodPerMesh () const
 
 getNeighborhoodPerApex () const
 
virtual getAdjacentApices (Id iapex) const
 
 getNRingsAdjacentApices (Id start_apex, Id n_rings) const
 
virtual void buildAdjacencyMatrix () 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
 
void printConcreteClassName () const
 
- Public Member Functions inherited from gstlrn::ASerializable
 ASerializable ()
 
 ASerializable (const ASerializable &r)=default
 
ASerializableoperator= (const ASerializable &r)=default
 
 ASerializable (ASerializable &&r) noexcept=default
 
ASerializableoperator= (ASerializable &&r) noexcept=default
 
virtual ~ASerializable ()=default
 
bool dumpToNF (const String &NFFilename, const EFormatNF &format=EFormatNF::fromKey("DEFAULT")) 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 MeshEFaultedcreateFromExternal (const MatrixDense &apices, const MatrixInt &meshes, const 1 &fault_ids, bool verbose=false)
 Interface for AMesh.
 
- Static Public Member Functions inherited from gstlrn::MeshEStandard
static MeshEStandardcreateFromNF (const String &NFFilename, bool verbose=true)
 
static MeshEStandardcreateFromExternal (const MatrixDense &apices, const MatrixInt &meshes, bool verbose=false)
 
- 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

◆ MeshEFaulted() [1/2]

gstlrn::MeshEFaulted::MeshEFaulted ( )

◆ MeshEFaulted() [2/2]

gstlrn::MeshEFaulted::MeshEFaulted ( const MeshEFaulted m)

◆ ~MeshEFaulted()

gstlrn::MeshEFaulted::~MeshEFaulted ( )
virtual

Member Function Documentation

◆ createFromExternal()

MeshEFaulted * gstlrn::MeshEFaulted::createFromExternal ( const MatrixDense apices,
const MatrixInt meshes,
const 1 &  fault_ids,
bool  verbose = false 
)
static

Interface for AMesh.

◆ getFaultIds()

const & gstlrn::MeshEFaulted::getFaultIds ( ) const
inline

◆ getNFName()

String gstlrn::MeshEFaulted::getNFName ( ) const
inlineoverridevirtual

ASeriazable interface.

Reimplemented from gstlrn::AMesh.

◆ getNVirtualFaultMeshes()

Id gstlrn::MeshEFaulted::getNVirtualFaultMeshes ( ) const

◆ operator=()

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

◆ reset() [1/2]

Id gstlrn::MeshEFaulted::reset ( const MatrixDense apices,
const MatrixInt meshes,
bool  verbose = false 
)
overridevirtual

Create the meshing (from mesh information)

Parameters
[in]apicesMatrix of Apices
[in]meshesArray of mesh indices
[in]verboseVerbose flag

Reimplemented from gstlrn::MeshEStandard.

◆ reset() [2/2]

Id gstlrn::MeshEFaulted::reset ( const MatrixDense apices,
const MatrixInt meshes,
const 1 &  faultIds,
bool  verbose = false 
)

Create the meshing (from mesh information)

Parameters
[in]apicesMatrix of Apices
[in]meshesArray of mesh indices
[in]faultIdsVector of fault ids
[in]verboseVerbose flag

◆ resetFromTurbo()

Id gstlrn::MeshEFaulted::resetFromTurbo ( const MeshETurbo turbo,
bool  verbose = false 
)
overridevirtual

Reimplemented from gstlrn::MeshEStandard.

◆ resetFromVectors() [1/2]

Id gstlrn::MeshEFaulted::resetFromVectors ( Id  ndim,
Id  napexpermesh,
const 1 &  apices,
const 1 &  meshes,
bool  byCol = true,
bool  verbose = false 
)
overridevirtual

Create the meshing (from mesh information)

Parameters
[in]ndimSpace Dimension
[in]napexpermeshNumber of apices per mesh
[in]apicesVector of Apex information
[in]meshesVector of mesh indices
[in]byColtrue for Column major; false for Row Major
[in]verboseVerbose flag
Remarks
The argument 'byCol' concerns 'apices' and 'meshes'

Reimplemented from gstlrn::MeshEStandard.

◆ resetFromVectors() [2/2]

Id gstlrn::MeshEFaulted::resetFromVectors ( Id  ndim,
Id  napexpermesh,
const 1 &  apices,
const 1 &  meshes,
const 1 &  faultIds,
bool  byCol = true,
bool  verbose = false 
)

Create the meshing (from mesh information)

Parameters
[in]ndimSpace Dimension
[in]napexpermeshNumber of apices per mesh
[in]apicesVector of Apex information
[in]meshesVector of mesh indices
[in]faultIdsVector of fault ids
[in]byColtrue for Column major; false for Row Major
[in]verboseVerbose flag
Remarks
The argument 'byCol' concerns 'apices' and 'meshes'

◆ toString()

String gstlrn::MeshEFaulted::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Interface to AStringable.

x Print the contents of the meshing

Parameters
[in]strfmtFormat for printout

Reimplemented from gstlrn::AMesh.


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