27#ifndef dftefeConstraintsInternal_h
28#define dftefeConstraintsInternal_h
40 template <
typename ValueTypeBasisCoeff,
51 &rowConstraintsIdsLocal,
54 &columnConstraintsIdsLocal,
56 &columnConstraintsAccumulated,
58 &columnConstraintsValues,
60 & constraintsInhomogenities,
69 &rowConstraintsIdsLocal,
72 &columnConstraintsIdsLocal,
74 &columnConstraintsAccumulated,
76 & columnConstraintsValues,
85 &rowConstraintsIdsLocal);
94 & rowConstraintsIdsLocal,
95 const ValueTypeBasisCoeff alpha);
99#ifdef DFTEFE_WITH_DEVICE
100 template <
typename ValueTypeBasisCoeff>
113 &rowConstraintsIdsLocal,
116 &rowConstraintsSizes,
119 &columnConstraintsIdsLocal,
122 &columnConstraintsAccumulated,
124 &columnConstraintsValues,
127 &constraintsInhomogenities,
139 &rowConstraintsIdsLocal,
142 &rowConstraintsSizes,
145 &columnConstraintsIdsLocal,
148 &columnConstraintsAccumulated,
150 &columnConstraintsValues,
162 &rowConstraintsIdsLocal);
Definition: ConstraintsInternal.h:43
static void constraintsDistributeParentToChild(linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, const size_type blockSize, const utils::MemoryStorage< size_type, memorySpace > &rowConstraintsIdsLocal, const utils::MemoryStorage< size_type, memorySpace > &rowConstraintsSizes, const utils::MemoryStorage< size_type, memorySpace > &columnConstraintsIdsLocal, const utils::MemoryStorage< size_type, memorySpace > &columnConstraintsAccumulated, const utils::MemoryStorage< double, memorySpace > &columnConstraintsValues, const utils::MemoryStorage< ValueTypeBasisCoeff, memorySpace > &constraintsInhomogenities, linearAlgebra::LinAlgOpContext< memorySpace > &linAlgOpContext)
Definition: ConstraintsInternal.cpp:38
static void constraintsSetConstrainedNodesToZero(linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, const size_type blockSize, const utils::MemoryStorage< size_type, memorySpace > &rowConstraintsIdsLocal)
Definition: ConstraintsInternal.cpp:176
static void constraintsSetConstrainedNodes(linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, const size_type blockSize, const utils::MemoryStorage< size_type, memorySpace > &rowConstraintsIdsLocal, const ValueTypeBasisCoeff alpha)
Definition: ConstraintsInternal.cpp:199
static void constraintsDistributeChildToParent(linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > &vectorData, const size_type blockSize, const utils::MemoryStorage< size_type, memorySpace > &rowConstraintsIdsLocal, const utils::MemoryStorage< size_type, memorySpace > &rowConstraintsSizes, const utils::MemoryStorage< size_type, memorySpace > &columnConstraintsIdsLocal, const utils::MemoryStorage< size_type, memorySpace > &columnConstraintsAccumulated, const utils::MemoryStorage< double, memorySpace > &columnConstraintsValues, linearAlgebra::LinAlgOpContext< memorySpace > &linAlgOpContext)
Definition: ConstraintsInternal.cpp:113
Definition: LinAlgOpContext.h:38
An class template to encapsulate a MultiVector. A MultiVector is a collection of vectors belonging t...
Definition: MultiVector.h:134
Definition: MemoryStorage.h:38
MemorySpace
Definition: MemorySpaceType.h:37
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8