DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::basis::TriangulationBase Class Referenceabstract

An abstract class for the triangulation class. The derived class specialises this class to dealii and otehr specialisations if required. More...

#include <TriangulationBase.h>

Inheritance diagram for dftefe::basis::TriangulationBase:

Public Types

typedef std::vector< std::shared_ptr< TriangulationCellBase > >::iterator TriangulationCellIterator
 
typedef std::vector< std::shared_ptr< TriangulationCellBase > >::const_iterator const_TriangulationCellIterator
 

Public Member Functions

virtual ~TriangulationBase ()=default
 
virtual void initializeTriangulationConstruction ()=0
 
virtual void finalizeTriangulationConstruction ()=0
 
virtual void createUniformParallelepiped (const std::vector< unsigned int > &subdivisions, const std::vector< utils::Point > &domainVectors, const std::vector< bool > &isPeriodicFlags)=0
 
virtual void createSingleCellTriangulation (const std::vector< utils::Point > &vertices)=0
 
virtual void shiftTriangulation (const utils::Point &origin)=0
 
virtual void refineGlobal (const unsigned int times=1)=0
 
virtual void coarsenGlobal (const unsigned int times=1)=0
 
virtual void clearUserFlags ()=0
 
virtual void executeCoarseningAndRefinement ()=0
 
virtual unsigned int nLocallyOwnedCells () const =0
 
virtual double maxElementLength () const =0
 
virtual double minElementLength () const =0
 
virtual unsigned int nLocalCells () const =0
 
virtual size_type nGlobalCells () const =0
 
virtual std::vector< size_typegetBoundaryIds () const =0
 
virtual TriangulationCellIterator beginLocal ()=0
 
virtual TriangulationCellIterator endLocal ()=0
 
virtual const_TriangulationCellIterator beginLocal () const =0
 
virtual const_TriangulationCellIterator endLocal () const =0
 
virtual unsigned int getDim () const =0
 
virtual std::vector< bool > getPeriodicFlags () const =0
 
virtual void saveRefineFlags (std::vector< bool > &v) const =0
 
virtual void writeToVtkFile (std::ostream &out) const =0
 
virtual std::vector< utils::PointgetDomainVectors () const =0
 

Detailed Description

An abstract class for the triangulation class. The derived class specialises this class to dealii and otehr specialisations if required.

Member Typedef Documentation

◆ const_TriangulationCellIterator

◆ TriangulationCellIterator

Constructor & Destructor Documentation

◆ ~TriangulationBase()

virtual dftefe::basis::TriangulationBase::~TriangulationBase ( )
virtualdefault

Member Function Documentation

◆ beginLocal() [1/2]

virtual const_TriangulationCellIterator dftefe::basis::TriangulationBase::beginLocal ( ) const
pure virtual

◆ beginLocal() [2/2]

virtual TriangulationCellIterator dftefe::basis::TriangulationBase::beginLocal ( )
pure virtual

Implemented in dftefe::basis::TriangulationDealiiParallel< dim >, and dftefe::basis::TriangulationDealiiSerial< dim >.

Here is the caller graph for this function:

◆ clearUserFlags()

virtual void dftefe::basis::TriangulationBase::clearUserFlags ( )
pure virtual

◆ coarsenGlobal()

virtual void dftefe::basis::TriangulationBase::coarsenGlobal ( const unsigned int  times = 1)
pure virtual

◆ createSingleCellTriangulation()

virtual void dftefe::basis::TriangulationBase::createSingleCellTriangulation ( const std::vector< utils::Point > &  vertices)
pure virtual

◆ createUniformParallelepiped()

virtual void dftefe::basis::TriangulationBase::createUniformParallelepiped ( const std::vector< unsigned int > &  subdivisions,
const std::vector< utils::Point > &  domainVectors,
const std::vector< bool > &  isPeriodicFlags 
)
pure virtual

Implemented in dftefe::basis::TriangulationDealiiParallel< dim >, and dftefe::basis::TriangulationDealiiSerial< dim >.

Here is the caller graph for this function:

◆ endLocal() [1/2]

virtual const_TriangulationCellIterator dftefe::basis::TriangulationBase::endLocal ( ) const
pure virtual

◆ endLocal() [2/2]

virtual TriangulationCellIterator dftefe::basis::TriangulationBase::endLocal ( )
pure virtual

Implemented in dftefe::basis::TriangulationDealiiParallel< dim >, and dftefe::basis::TriangulationDealiiSerial< dim >.

Here is the caller graph for this function:

◆ executeCoarseningAndRefinement()

virtual void dftefe::basis::TriangulationBase::executeCoarseningAndRefinement ( )
pure virtual

Implemented in dftefe::basis::TriangulationDealiiParallel< dim >, and dftefe::basis::TriangulationDealiiSerial< dim >.

Here is the caller graph for this function:

◆ finalizeTriangulationConstruction()

virtual void dftefe::basis::TriangulationBase::finalizeTriangulationConstruction ( )
pure virtual

Implemented in dftefe::basis::TriangulationDealiiParallel< dim >, and dftefe::basis::TriangulationDealiiSerial< dim >.

Here is the caller graph for this function:

◆ getBoundaryIds()

virtual std::vector< size_type > dftefe::basis::TriangulationBase::getBoundaryIds ( ) const
pure virtual

◆ getDim()

virtual unsigned int dftefe::basis::TriangulationBase::getDim ( ) const
pure virtual

◆ getDomainVectors()

virtual std::vector< utils::Point > dftefe::basis::TriangulationBase::getDomainVectors ( ) const
pure virtual

◆ getPeriodicFlags()

virtual std::vector< bool > dftefe::basis::TriangulationBase::getPeriodicFlags ( ) const
pure virtual

◆ initializeTriangulationConstruction()

virtual void dftefe::basis::TriangulationBase::initializeTriangulationConstruction ( )
pure virtual

Implemented in dftefe::basis::TriangulationDealiiParallel< dim >, and dftefe::basis::TriangulationDealiiSerial< dim >.

Here is the caller graph for this function:

◆ maxElementLength()

virtual double dftefe::basis::TriangulationBase::maxElementLength ( ) const
pure virtual

◆ minElementLength()

virtual double dftefe::basis::TriangulationBase::minElementLength ( ) const
pure virtual

◆ nGlobalCells()

virtual size_type dftefe::basis::TriangulationBase::nGlobalCells ( ) const
pure virtual

Implemented in dftefe::basis::TriangulationDealiiParallel< dim >, and dftefe::basis::TriangulationDealiiSerial< dim >.

Here is the caller graph for this function:

◆ nLocalCells()

virtual unsigned int dftefe::basis::TriangulationBase::nLocalCells ( ) const
pure virtual

◆ nLocallyOwnedCells()

virtual unsigned int dftefe::basis::TriangulationBase::nLocallyOwnedCells ( ) const
pure virtual

◆ refineGlobal()

virtual void dftefe::basis::TriangulationBase::refineGlobal ( const unsigned int  times = 1)
pure virtual

◆ saveRefineFlags()

virtual void dftefe::basis::TriangulationBase::saveRefineFlags ( std::vector< bool > &  v) const
pure virtual

Implemented in dftefe::basis::TriangulationDealiiParallel< dim >, and dftefe::basis::TriangulationDealiiSerial< dim >.

Here is the caller graph for this function:

◆ shiftTriangulation()

virtual void dftefe::basis::TriangulationBase::shiftTriangulation ( const utils::Point origin)
pure virtual

Implemented in dftefe::basis::TriangulationDealiiParallel< dim >, and dftefe::basis::TriangulationDealiiSerial< dim >.

Here is the caller graph for this function:

◆ writeToVtkFile()

virtual void dftefe::basis::TriangulationBase::writeToVtkFile ( std::ostream &  out) const
pure virtual

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