26#ifndef dftefeCFEBasisDofHandlerDealii_h
27#define dftefeCFEBasisDofHandlerDealii_h
33#include <deal.II/fe/fe_q.h>
41#include <deal.II/dofs/dof_handler.h>
42#include <deal.II/matrix_free/matrix_free.h>
52 template <
typename ValueTypeBasisCoeff,
67 std::shared_ptr<const TriangulationBase> triangulation,
72 std::shared_ptr<const TriangulationBase> triangulation,
84 const size_type derivativeOrder = 1)
const override;
88 reinit(std::shared_ptr<const TriangulationBase> triangulation,
93 reinit(std::shared_ptr<const TriangulationBase> triangulation,
96 std::shared_ptr<const TriangulationBase>
118 std::vector<std::pair<global_size_type, global_size_type>>
121 std::vector<std::pair<global_size_type, global_size_type>>
124 std::map<BasisIdAttribute, size_type>
130 std::vector<size_type>
133 std::vector<size_type>
139 std::vector<global_size_type> &vecGlobalNodeId)
const override;
141 const std::vector<global_size_type> &
179 std::map<global_size_type, utils::Point> &dofCoords)
const override;
185 std::shared_ptr<const ConstraintsLocal<ValueTypeBasisCoeff, memorySpace>>
189 std::shared_ptr<ConstraintsLocal<ValueTypeBasisCoeff, memorySpace>>
196 constraintsLocal)
const override;
198 std::shared_ptr<const utils::mpi::MPIPatternP2P<memorySpace>>
208 std::shared_ptr<const dealii::DoFHandler<dim>>
211 const dealii::FiniteElement<dim> &
226 std::shared_ptr<const utils::mpi::MPIPatternP2P<memorySpace>>
228 std::shared_ptr<const ConstraintsLocal<ValueTypeBasisCoeff, memorySpace>>
230 std::vector<std::pair<global_size_type, global_size_type>>
235 const std::pair<global_size_type, global_size_type> &locallyOwnedRanges,
236 std::vector<std::pair<global_size_type, global_size_type>>
Definition: CFEBasisDofHandlerDealii.h:57
std::shared_ptr< const dealii::DoFHandler< dim > > getDoFHandler() const
Definition: CFEBasisDofHandlerDealii.t.cpp:1061
FECellIterator beginLocallyOwnedCells() override
Definition: CFEBasisDofHandlerDealii.t.cpp:961
size_type d_numCumulativeLocalCellDofs
Definition: CFEBasisDofHandlerDealii.h:221
const dealii::FiniteElement< dim > & getReferenceFE(const size_type cellId) const
Definition: CFEBasisDofHandlerDealii.t.cpp:1071
std::vector< global_size_type > d_boundaryIds
Definition: CFEBasisDofHandlerDealii.h:224
size_type nCumulativeLocalCellDofs() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1122
const std::vector< global_size_type > & getBoundaryIds() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:950
global_size_type nGlobalNodes() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:811
typename FEBasisDofHandler< ValueTypeBasisCoeff, memorySpace, dim >::const_FECellIterator const_FECellIterator
Definition: CFEBasisDofHandlerDealii.h:64
FECellIterator endLocallyOwnedCells() override
Definition: CFEBasisDofHandlerDealii.t.cpp:972
std::vector< size_type > getGlobalNodeIds() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:921
std::shared_ptr< const ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > > getIntrinsicConstraints() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1146
std::shared_ptr< const TriangulationBase > getTriangulation() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:730
std::vector< std::shared_ptr< FECellBase > > d_locallyOwnedCells
Definition: CFEBasisDofHandlerDealii.h:219
void getBasisCenters(std::map< global_size_type, utils::Point > &dofCoords) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1095
size_type totalRanges() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1132
unsigned int getDim() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1047
std::shared_ptr< const ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > > d_constraintsLocal
Definition: CFEBasisDofHandlerDealii.h:229
void getCellDofsGlobalIds(size_type cellId, std::vector< global_size_type > &vecGlobalNodeId) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:937
std::vector< double > getBasisFunctionDerivative(const size_type basisId, const utils::Point &point, const size_type derivativeOrder=1) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:713
void reinit(std::shared_ptr< const TriangulationBase > triangulation, const size_type feOrder, const utils::mpi::MPIComm &mpiComm)
Definition: CFEBasisDofHandlerDealii.t.cpp:133
size_type d_totalRanges
Definition: CFEBasisDofHandlerDealii.h:222
bool d_isDistributed
Definition: CFEBasisDofHandlerDealii.h:225
size_type getFEOrder(size_type cellId) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:770
std::shared_ptr< ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > > createConstraintsStart() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1156
std::vector< std::pair< global_size_type, global_size_type > > getGlobalRanges() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:879
std::shared_ptr< const TriangulationBase > d_triangulation
Definition: CFEBasisDofHandlerDealii.h:215
std::vector< size_type > getLocalNodeIds(size_type cellId) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:906
std::vector< std::pair< global_size_type, global_size_type > > getLocallyOwnedRanges() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:821
void createConstraintsEnd(std::shared_ptr< ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > > constraintsLocal) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1178
size_type nCumulativeLocallyOwnedCellDofs() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1112
FECellIterator beginLocalCells() override
Definition: CFEBasisDofHandlerDealii.t.cpp:1005
size_type nCellDofs(size_type cellId) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:780
double getBasisFunctionValue(const size_type basisId, const utils::Point &point) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:699
std::shared_ptr< const utils::mpi::MPIPatternP2P< memorySpace > > getMPIPatternP2P() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1190
std::vector< std::pair< global_size_type, global_size_type > > d_locallyOwnedRanges
Definition: CFEBasisDofHandlerDealii.h:231
size_type nLocalNodes() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:801
size_type nLocalCells() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:740
size_type d_numCumulativeLocallyOwnedCellDofs
Definition: CFEBasisDofHandlerDealii.h:220
FECellIterator endLocalCells() override
Definition: CFEBasisDofHandlerDealii.t.cpp:1016
~CFEBasisDofHandlerDealii()=default
std::map< BasisIdAttribute, size_type > getBasisAttributeToRangeIdMap() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:894
bool isDistributed() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1200
std::shared_ptr< const utils::mpi::MPIPatternP2P< memorySpace > > d_mpiPatternP2P
Definition: CFEBasisDofHandlerDealii.h:227
bool d_isVariableDofsPerCell
Definition: CFEBasisDofHandlerDealii.h:217
size_type nLocallyOwnedCells() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:750
bool isVariableDofsPerCell() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:791
size_type nGlobalCells() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:760
std::vector< std::shared_ptr< FECellBase > > d_localCells
Definition: CFEBasisDofHandlerDealii.h:218
std::shared_ptr< dealii::DoFHandler< dim > > d_dofHandler
Definition: CFEBasisDofHandlerDealii.h:216
typename FEBasisDofHandler< ValueTypeBasisCoeff, memorySpace, dim >::FECellIterator FECellIterator
Definition: CFEBasisDofHandlerDealii.h:61
void getAllOwnedClassicalRanges(const std::pair< global_size_type, global_size_type > &locallyOwnedRanges, std::vector< std::pair< global_size_type, global_size_type > > &allOwnedRanges, const utils::mpi::MPIComm &mpiComm) const
Definition: CFEBasisDofHandlerDealii.t.cpp:831
Definition: ConstraintsLocal.h:43
Definition: FEBasisDofHandler.h:57
Definition: PointImpl.h:13
int MPIComm
Definition: MPITypes.h:83
MemorySpace
Definition: MemorySpaceType.h:37
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8
unsigned long int global_size_type
Definition: TypeConfig.h:9