DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::basis::BasisManager< ValueTypeBasisCoeff, memorySpace > Class Template Referenceabstract

An abstract class to encapsulate the partitioning of a basis across multiple processors. More...

#include <BasisManager.h>

Inheritance diagram for dftefe::basis::BasisManager< ValueTypeBasisCoeff, memorySpace >:

Public Types

using SizeTypeVector = utils::MemoryStorage< size_type, memorySpace >
 
using GlobalSizeTypeVector = utils::MemoryStorage< global_size_type, memorySpace >
 
using LocalIndexIter = typename SizeTypeVector::iterator
 
using const_LocalIndexIter = typename SizeTypeVector::const_iterator
 
using GlobalIndexIter = typename GlobalSizeTypeVector::iterator
 
using const_GlobalIndexIter = typename GlobalSizeTypeVector::const_iterator
 

Public Member Functions

 ~BasisManager ()=default
 
virtual const BasisDofHandlergetBasisDofHandler () const =0
 
virtual const ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > & getConstraints () const =0
 
virtual std::shared_ptr< const utils::mpi::MPIPatternP2P< memorySpace > > getMPIPatternP2P () const =0
 
virtual std::vector< std::pair< global_size_type, global_size_type > > getLocallyOwnedRanges () const =0
 
virtual const GlobalSizeTypeVectorgetGhostIndices () const =0
 
virtual size_type nLocal () const =0
 
virtual size_type nLocallyOwned () const =0
 
virtual size_type nGhost () const =0
 
virtual std::pair< bool, size_typeinLocallyOwnedRanges (const global_size_type globalId) const =0
 
virtual std::pair< bool, size_typeisGhostEntry (const global_size_type ghostId) const =0
 
virtual size_type globalToLocalIndex (const global_size_type globalId) const =0
 
virtual global_size_type localToGlobalIndex (const size_type localId) const =0
 
virtual void getBasisCenters (const size_type localId, dftefe::utils::Point &basisCenter) const =0
 

Detailed Description

template<typename ValueTypeBasisCoeff, dftefe::utils::MemorySpace memorySpace>
class dftefe::basis::BasisManager< ValueTypeBasisCoeff, memorySpace >

An abstract class to encapsulate the partitioning of a basis across multiple processors.

Template Parameters
ValueTypeBasisCoeffthe datatype for the constraints
templateparameter memorySpace defines the MemorySpace (i.e., HOST or DEVICE) in which the data must reside.

Member Typedef Documentation

◆ const_GlobalIndexIter

template<typename ValueTypeBasisCoeff , dftefe::utils::MemorySpace memorySpace>
using dftefe::basis::BasisManager< ValueTypeBasisCoeff, memorySpace >::const_GlobalIndexIter = typename GlobalSizeTypeVector::const_iterator

◆ const_LocalIndexIter

template<typename ValueTypeBasisCoeff , dftefe::utils::MemorySpace memorySpace>
using dftefe::basis::BasisManager< ValueTypeBasisCoeff, memorySpace >::const_LocalIndexIter = typename SizeTypeVector::const_iterator

◆ GlobalIndexIter

template<typename ValueTypeBasisCoeff , dftefe::utils::MemorySpace memorySpace>
using dftefe::basis::BasisManager< ValueTypeBasisCoeff, memorySpace >::GlobalIndexIter = typename GlobalSizeTypeVector::iterator

◆ GlobalSizeTypeVector

template<typename ValueTypeBasisCoeff , dftefe::utils::MemorySpace memorySpace>
using dftefe::basis::BasisManager< ValueTypeBasisCoeff, memorySpace >::GlobalSizeTypeVector = utils::MemoryStorage<global_size_type, memorySpace>

◆ LocalIndexIter

template<typename ValueTypeBasisCoeff , dftefe::utils::MemorySpace memorySpace>
using dftefe::basis::BasisManager< ValueTypeBasisCoeff, memorySpace >::LocalIndexIter = typename SizeTypeVector::iterator

◆ SizeTypeVector

template<typename ValueTypeBasisCoeff , dftefe::utils::MemorySpace memorySpace>
using dftefe::basis::BasisManager< ValueTypeBasisCoeff, memorySpace >::SizeTypeVector = utils::MemoryStorage<size_type, memorySpace>

Constructor & Destructor Documentation

◆ ~BasisManager()

template<typename ValueTypeBasisCoeff , dftefe::utils::MemorySpace memorySpace>
dftefe::basis::BasisManager< ValueTypeBasisCoeff, memorySpace >::~BasisManager ( )
default

Member Function Documentation

◆ getBasisCenters()

◆ getBasisDofHandler()

template<typename ValueTypeBasisCoeff , dftefe::utils::MemorySpace memorySpace>
virtual const BasisDofHandler & dftefe::basis::BasisManager< ValueTypeBasisCoeff, memorySpace >::getBasisDofHandler ( ) const
pure virtual

◆ getConstraints()

◆ getGhostIndices()

◆ getLocallyOwnedRanges()

◆ getMPIPatternP2P()

◆ globalToLocalIndex()

◆ inLocallyOwnedRanges()

◆ isGhostEntry()

◆ localToGlobalIndex()

◆ nGhost()

◆ nLocal()

◆ nLocallyOwned()


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