#include <CFEConstraintsLocalDealii.h>
Public Types | |
using | GlobalSizeTypeVector = utils::MemoryStorage< global_size_type, memorySpace > |
using | SizeTypeVector = utils::MemoryStorage< size_type, memorySpace > |
Public Member Functions | |
CFEConstraintsLocalDealii (dealii::IndexSet &locally_relevant_dofs) | |
CFEConstraintsLocalDealii (dealii::AffineConstraints< ValueTypeBasisCoeff > &dealiiAffineConstraintMatrix, std::vector< std::pair< global_size_type, global_size_type > > &locallyOwnedRanges, std::vector< global_size_type > &ghostIndices, std::unordered_map< global_size_type, size_type > &globalToLocalMapLocalDofs) | |
~CFEConstraintsLocalDealii ()=default | |
void | copyFrom (const ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > &constraintsLocalIn) override |
void | clear () override |
bool | isConstrained (global_size_type basisId) const override |
void | close () override |
bool | isClosed () const override |
void | setInhomogeneity (global_size_type basisId, ValueTypeBasisCoeff constraintValue) override |
const std::vector< std::pair< global_size_type, ValueTypeBasisCoeff > > * | getConstraintEntries (const global_size_type lineDof) const override |
bool | isInhomogeneouslyConstrained (const global_size_type index) const override |
ValueTypeBasisCoeff | getInhomogeneity (const global_size_type lineDof) const override |
void | distributeChildToParent (linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, size_type blockSize) const override |
void | distributeParentToChild (linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, size_type blockSize) const override |
void | setConstrainedNodesToZero (linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, size_type blockSize) const override |
void | setConstrainedNodes (linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, size_type blockSize, ValueTypeBasisCoeff alpha) const override |
const dealii::AffineConstraints< ValueTypeBasisCoeff > & | getAffineConstraints () const |
Public Member Functions inherited from dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > | |
~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 |
Private Member Functions | |
void | addEntries (const global_size_type constrainedDofIndex, const std::vector< std::pair< global_size_type, ValueTypeBasisCoeff > > &colWeightPairs) |
void | copyConstraintsDataFromDealiiToDealii (const CFEConstraintsLocalDealii< ValueTypeBasisCoeff, memorySpace, dim > &constraintsDataIn) |
void | copyConstraintsDataFromDealiiToDftefe () |
void | addLine (const global_size_type lineDof) |
bool | isGhostEntry (const global_size_type globalId) const |
bool | inLocallyOwnedRanges (const global_size_type globalId) const |
size_type | globalToLocal (const global_size_type globalId) const |
Private Attributes | |
dealii::AffineConstraints< ValueTypeBasisCoeff > | d_dealiiAffineConstraintMatrix |
bool | d_isCleared |
bool | d_isClosed |
GlobalSizeTypeVector | d_rowConstraintsIdsGlobal |
SizeTypeVector | d_rowConstraintsIdsLocal |
SizeTypeVector | d_columnConstraintsIdsLocal |
SizeTypeVector | d_constraintRowSizesAccumulated |
GlobalSizeTypeVector | d_columnConstraintsIdsGlobal |
utils::MemoryStorage< double, memorySpace > | d_columnConstraintsValues |
utils::MemoryStorage< ValueTypeBasisCoeff, memorySpace > | d_constraintsInhomogenities |
SizeTypeVector | d_rowConstraintsSizes |
std::vector< std::pair< global_size_type, global_size_type > > | d_locallyOwnedRanges |
std::vector< global_size_type > | d_ghostIndices |
std::unordered_map< global_size_type, size_type > | d_globalToLocalMap |
using dftefe::basis::CFEConstraintsLocalDealii< ValueTypeBasisCoeff, memorySpace, dim >::GlobalSizeTypeVector = utils::MemoryStorage<global_size_type, memorySpace> |
using dftefe::basis::CFEConstraintsLocalDealii< ValueTypeBasisCoeff, memorySpace, dim >::SizeTypeVector = utils::MemoryStorage<size_type, memorySpace> |
dftefe::basis::CFEConstraintsLocalDealii< ValueTypeBasisCoeff, memorySpace, dim >::CFEConstraintsLocalDealii | ( | dealii::IndexSet & | locally_relevant_dofs | ) |
dftefe::basis::CFEConstraintsLocalDealii< ValueTypeBasisCoeff, memorySpace, dim >::CFEConstraintsLocalDealii | ( | dealii::AffineConstraints< ValueTypeBasisCoeff > & | dealiiAffineConstraintMatrix, |
std::vector< std::pair< global_size_type, global_size_type > > & | locallyOwnedRanges, | ||
std::vector< global_size_type > & | ghostIndices, | ||
std::unordered_map< global_size_type, size_type > & | globalToLocalMapLocalDofs | ||
) |
|
default |
|
private |
|
private |
|
overridevirtual |
|
overridevirtual |
|
private |
|
private |
|
overridevirtual |
Implements dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >.
|
overridevirtual |
Implements dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >.
|
overridevirtual |
Implements dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >.
const dealii::AffineConstraints< ValueTypeBasisCoeff > & dftefe::basis::CFEConstraintsLocalDealii< ValueTypeBasisCoeff, memorySpace, dim >::getAffineConstraints |
|
overridevirtual |
Implements dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >.
|
overridevirtual |
Implements dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >.
|
private |
|
private |
|
overridevirtual |
|
overridevirtual |
Implements dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >.
|
private |
|
overridevirtual |
Implements dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >.
|
overridevirtual |
Implements dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >.
|
overridevirtual |
Implements dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >.
|
overridevirtual |
Implements dftefe::basis::ConstraintsLocal< ValueTypeBasisCoeff, memorySpace >.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |