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

#include <ConstraintsLocal.h>

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

Public Member Functions

 ~ConstraintsLocal ()=default
 
virtual void copyFrom (const ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > &constraintsLocalIn)=0
 
virtual void clear ()=0
 
virtual void setInhomogeneity (global_size_type basisId, ValueTypeBasisCoeff constraintValue)=0
 
virtual void close ()=0
 
virtual bool isClosed () const =0
 
virtual bool isConstrained (global_size_type basisId) const =0
 
virtual const std::vector< std::pair< global_size_type, ValueTypeBasisCoeff > > * getConstraintEntries (const global_size_type lineDof) const =0
 
virtual bool isInhomogeneouslyConstrained (const global_size_type index) const =0
 
virtual ValueTypeBasisCoeff getInhomogeneity (const global_size_type lineDof) const =0
 
virtual void distributeChildToParent (linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, size_type blockSize) const =0
 
virtual void distributeParentToChild (linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, size_type blockSize) const =0
 
virtual void setConstrainedNodesToZero (linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, size_type blockSize) const =0
 
virtual void setConstrainedNodes (linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, size_type blockSize, ValueTypeBasisCoeff alpha) const =0
 

Detailed Description

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

An abstract class to handle the constraints related to a basis

Constructor & Destructor Documentation

◆ ~ConstraintsLocal()

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

Member Function Documentation

◆ clear()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual void dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::clear ( )
pure virtual

◆ close()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual void dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::close ( )
pure virtual

◆ copyFrom()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual void dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::copyFrom ( const ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > &  constraintsLocalIn)
pure virtual

◆ distributeChildToParent()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual void dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::distributeChildToParent ( linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &  vectorData,
size_type  blockSize 
) const
pure virtual

◆ distributeParentToChild()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual void dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::distributeParentToChild ( linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &  vectorData,
size_type  blockSize 
) const
pure virtual

◆ getConstraintEntries()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual const std::vector< std::pair< global_size_type, ValueTypeBasisCoeff > > * dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::getConstraintEntries ( const global_size_type  lineDof) const
pure virtual

◆ getInhomogeneity()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual ValueTypeBasisCoeff dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::getInhomogeneity ( const global_size_type  lineDof) const
pure virtual

◆ isClosed()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual bool dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::isClosed ( ) const
pure virtual

◆ isConstrained()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual bool dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::isConstrained ( global_size_type  basisId) const
pure virtual

◆ isInhomogeneouslyConstrained()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual bool dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::isInhomogeneouslyConstrained ( const global_size_type  index) const
pure virtual

◆ setConstrainedNodes()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual void dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::setConstrainedNodes ( linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &  vectorData,
size_type  blockSize,
ValueTypeBasisCoeff  alpha 
) const
pure virtual

◆ setConstrainedNodesToZero()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual void dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::setConstrainedNodesToZero ( linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &  vectorData,
size_type  blockSize 
) const
pure virtual

◆ setInhomogeneity()

template<typename ValueTypeBasisCoeff , utils::MemorySpace memorySpace>
virtual void dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >::setInhomogeneity ( global_size_type  basisId,
ValueTypeBasisCoeff  constraintValue 
)
pure virtual

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