25#ifndef dftefeQuadratureValuesContainer_h
26#define dftefeQuadratureValuesContainer_h
37 template <
typename ValueType, utils::MemorySpace memorySpace>
60 std::shared_ptr<const QuadratureRuleContainer> quadratureRuleContainer,
62 const ValueType initVal = ValueType());
66 std::shared_ptr<const QuadratureRuleContainer> quadratureRuleContainer,
68 const ValueType initVal = ValueType());
79 template <utils::MemorySpace memorySpaceSrc>
83 template <utils::MemorySpace memorySpaceSrc>
87 const ValueType *values);
92 template <utils::MemorySpace memorySpaceDst>
96 template <utils::MemorySpace memorySpaceDst>
100 ValueType * values)
const;
102 std::shared_ptr<const QuadratureRuleContainer>
175 template <
typename ValueType1,
196 template <
typename ValueType, dftefe::utils::MemorySpace memorySpace>
210 template <
typename ValueType1,
214 scale(ValueType1 alpha,
227 template <
typename ValueType, dftefe::utils::MemorySpace memorySpace>
229 scale(ValueType alpha,
Definition: LinAlgOpContext.h:38
Definition: QuadratureValuesContainer.h:39
size_type nCells() const
Definition: QuadratureValuesContainer.t.cpp:278
void setValue(const ValueType value)
Definition: QuadratureValuesContainer.t.cpp:214
typename dftefe::utils::MemoryStorage< ValueType, memorySpace >::const_iterator const_iterator
Definition: QuadratureValuesContainer.h:55
QuadratureValuesContainer & operator=(const QuadratureValuesContainer &rhs)
Definition: QuadratureValuesContainer.t.cpp:173
void reinit(std::shared_ptr< const QuadratureRuleContainer > quadratureRuleContainer, const size_type numberComponents, const ValueType initVal=ValueType())
Definition: QuadratureValuesContainer.t.cpp:123
void getCellValues(const size_type cellId, ValueType *values) const
Definition: QuadratureValuesContainer.t.cpp:237
size_type nCellQuadraturePoints(const size_type cellId) const
Definition: QuadratureValuesContainer.t.cpp:300
SizeTypeVector d_numCellEntries
Definition: QuadratureValuesContainer.h:157
typename dftefe::utils::MemoryStorage< ValueType, memorySpace >::pointer pointer
Definition: QuadratureValuesContainer.h:44
SizeTypeVector d_cellStartIds
Definition: QuadratureValuesContainer.h:156
const SizeTypeVector & getNumberCellEntries() const
Definition: QuadratureValuesContainer.t.cpp:335
typename dftefe::utils::MemoryStorage< ValueType, memorySpace >::reference reference
Definition: QuadratureValuesContainer.h:47
void getCellQuadValues(const size_type cellId, const size_type componentId, ValueType *values) const
Definition: QuadratureValuesContainer.t.cpp:249
size_type d_numberComponents
Definition: QuadratureValuesContainer.h:155
QuadratureValuesContainer(std::shared_ptr< const QuadratureRuleContainer > quadratureRuleContainer, const size_type numberComponents, const ValueType initVal=ValueType())
std::shared_ptr< const QuadratureRuleContainer > getQuadratureRuleContainer() const
Definition: QuadratureValuesContainer.t.cpp:263
size_type cellStartId(const size_type cellId) const
Definition: QuadratureValuesContainer.t.cpp:317
iterator end()
Definition: QuadratureValuesContainer.t.cpp:357
typename dftefe::utils::MemoryStorage< ValueType, memorySpace >::iterator iterator
Definition: QuadratureValuesContainer.h:52
typename dftefe::utils::MemoryStorage< ValueType, memorySpace >::const_reference const_reference
Definition: QuadratureValuesContainer.h:50
iterator begin()
Definition: QuadratureValuesContainer.t.cpp:343
void setCellQuadValues(const size_type cellId, const size_type componentId, const ValueType *values)
Definition: QuadratureValuesContainer.t.cpp:223
const SizeTypeVector & getCellStartIds() const
Definition: QuadratureValuesContainer.t.cpp:327
void setCellValues(const size_type cellId, const ValueType *values)
Definition: QuadratureValuesContainer.t.cpp:203
size_type nCellEntries(const size_type cellId) const
Definition: QuadratureValuesContainer.t.cpp:308
size_type nEntries() const
Definition: QuadratureValuesContainer.t.cpp:292
size_type getNumberComponents() const
Definition: QuadratureValuesContainer.t.cpp:270
std::shared_ptr< const QuadratureRuleContainer > d_quadratureRuleContainer
Definition: QuadratureValuesContainer.h:159
Storage d_storage
Definition: QuadratureValuesContainer.h:158
QuadratureValuesContainer()
Definition: QuadratureValuesContainer.t.cpp:87
size_type nQuadraturePoints() const
Definition: QuadratureValuesContainer.t.cpp:285
Definition: MemoryStorage.h:38
ValueType * iterator
Definition: MemoryStorage.h:59
ValueType * pointer
Definition: MemoryStorage.h:56
blas::scalar_type< ValueType1, ValueType2 > scalar_type
Definition: BlasLapackTypedef.h:70
void scale(ValueType1 alpha, const QuadratureValuesContainer< ValueType2, memorySpace > &u, QuadratureValuesContainer< linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 >, memorySpace > &w, linearAlgebra::LinAlgOpContext< memorySpace > &linAlgOpContext)
Perform .
Definition: QuadratureValuesContainer.t.cpp:482
void add(linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 > a, const QuadratureValuesContainer< ValueType1, memorySpace > &u, linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 > b, const QuadratureValuesContainer< ValueType2, memorySpace > &v, QuadratureValuesContainer< linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 >, memorySpace > &w, linearAlgebra::LinAlgOpContext< memorySpace > &linAlgOpContext)
Perform .
Definition: QuadratureValuesContainer.t.cpp:435
MemorySpace
Definition: MemorySpaceType.h:37
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8