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,
82 const size_type derivativeOrder = 1)
const override;
86 reinit(std::shared_ptr<const TriangulationBase> triangulation,
91 reinit(std::shared_ptr<const TriangulationBase> triangulation,
94 std::shared_ptr<const TriangulationBase>
116 std::vector<std::pair<global_size_type, global_size_type>>
119 std::vector<std::pair<global_size_type, global_size_type>>
122 std::map<BasisIdAttribute, size_type>
128 std::vector<size_type>
131 std::vector<size_type>
137 std::vector<global_size_type> &vecGlobalNodeId)
const override;
139 const std::vector<global_size_type> &
177 std::map<global_size_type, utils::Point> &dofCoords)
const override;
183 std::shared_ptr<const ConstraintsLocal<ValueTypeBasisCoeff, memorySpace>>
187 std::shared_ptr<ConstraintsLocal<ValueTypeBasisCoeff, memorySpace>>
194 constraintsLocal)
const override;
196 std::shared_ptr<const utils::mpi::MPIPatternP2P<memorySpace>>
206 std::shared_ptr<const dealii::DoFHandler<dim>>
209 const dealii::FiniteElement<dim> &
224 std::shared_ptr<const utils::mpi::MPIPatternP2P<memorySpace>>
226 std::shared_ptr<const ConstraintsLocal<ValueTypeBasisCoeff, memorySpace>>
228 std::vector<std::pair<global_size_type, global_size_type>>
233 const std::pair<global_size_type, global_size_type> &locallyOwnedRanges,
234 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:1059
FECellIterator beginLocallyOwnedCells() override
Definition: CFEBasisDofHandlerDealii.t.cpp:959
size_type d_numCumulativeLocalCellDofs
Definition: CFEBasisDofHandlerDealii.h:219
const dealii::FiniteElement< dim > & getReferenceFE(const size_type cellId) const
Definition: CFEBasisDofHandlerDealii.t.cpp:1069
std::vector< global_size_type > d_boundaryIds
Definition: CFEBasisDofHandlerDealii.h:222
size_type nCumulativeLocalCellDofs() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1120
const std::vector< global_size_type > & getBoundaryIds() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:948
global_size_type nGlobalNodes() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:809
typename FEBasisDofHandler< ValueTypeBasisCoeff, memorySpace, dim >::const_FECellIterator const_FECellIterator
Definition: CFEBasisDofHandlerDealii.h:64
FECellIterator endLocallyOwnedCells() override
Definition: CFEBasisDofHandlerDealii.t.cpp:970
std::vector< size_type > getGlobalNodeIds() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:919
std::shared_ptr< const ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > > getIntrinsicConstraints() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1144
std::shared_ptr< const TriangulationBase > getTriangulation() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:728
std::vector< std::shared_ptr< FECellBase > > d_locallyOwnedCells
Definition: CFEBasisDofHandlerDealii.h:217
void getBasisCenters(std::map< global_size_type, utils::Point > &dofCoords) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1093
size_type totalRanges() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1130
unsigned int getDim() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1045
std::shared_ptr< const ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > > d_constraintsLocal
Definition: CFEBasisDofHandlerDealii.h:227
void getCellDofsGlobalIds(size_type cellId, std::vector< global_size_type > &vecGlobalNodeId) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:935
std::vector< double > getBasisFunctionDerivative(const size_type basisId, const utils::Point &point, const size_type derivativeOrder=1) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:711
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:220
bool d_isDistributed
Definition: CFEBasisDofHandlerDealii.h:223
size_type getFEOrder(size_type cellId) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:768
std::shared_ptr< ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > > createConstraintsStart() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1154
std::vector< std::pair< global_size_type, global_size_type > > getGlobalRanges() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:877
std::shared_ptr< const TriangulationBase > d_triangulation
Definition: CFEBasisDofHandlerDealii.h:213
std::vector< size_type > getLocalNodeIds(size_type cellId) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:904
std::vector< std::pair< global_size_type, global_size_type > > getLocallyOwnedRanges() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:819
void createConstraintsEnd(std::shared_ptr< ConstraintsLocal< ValueTypeBasisCoeff, memorySpace > > constraintsLocal) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1176
size_type nCumulativeLocallyOwnedCellDofs() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1110
FECellIterator beginLocalCells() override
Definition: CFEBasisDofHandlerDealii.t.cpp:1003
size_type nCellDofs(size_type cellId) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:778
double getBasisFunctionValue(const size_type basisId, const utils::Point &point) const override
Definition: CFEBasisDofHandlerDealii.t.cpp:697
std::shared_ptr< const utils::mpi::MPIPatternP2P< memorySpace > > getMPIPatternP2P() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1188
std::vector< std::pair< global_size_type, global_size_type > > d_locallyOwnedRanges
Definition: CFEBasisDofHandlerDealii.h:229
size_type nLocalNodes() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:799
size_type nLocalCells() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:738
size_type d_numCumulativeLocallyOwnedCellDofs
Definition: CFEBasisDofHandlerDealii.h:218
FECellIterator endLocalCells() override
Definition: CFEBasisDofHandlerDealii.t.cpp:1014
std::map< BasisIdAttribute, size_type > getBasisAttributeToRangeIdMap() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:892
bool isDistributed() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:1198
std::shared_ptr< const utils::mpi::MPIPatternP2P< memorySpace > > d_mpiPatternP2P
Definition: CFEBasisDofHandlerDealii.h:225
bool d_isVariableDofsPerCell
Definition: CFEBasisDofHandlerDealii.h:215
size_type nLocallyOwnedCells() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:748
bool isVariableDofsPerCell() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:789
size_type nGlobalCells() const override
Definition: CFEBasisDofHandlerDealii.t.cpp:758
std::vector< std::shared_ptr< FECellBase > > d_localCells
Definition: CFEBasisDofHandlerDealii.h:216
std::shared_ptr< dealii::DoFHandler< dim > > d_dofHandler
Definition: CFEBasisDofHandlerDealii.h:214
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:829
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