![]() |
Dune-Fufem 2.11
|
Loading...
Searching...
No Matches
dunefunctionsfunctionalassembler.hh
Go to the documentation of this file.
11#warning This header is deprecated and will be removed after 2.11. Use the global assemblers from dune/assembler/defaultglobalassembler.hh instead.
49[[deprecated("This class will be removed after 2.11. Use Dune::Assembler::Assembler together with Dune::Fufem::Forms based local assemblers instead.")]]
56 using LocalAssemblerPreprocess = decltype(std::declval<LocalAssembler>().preprocess(std::declval<typename TestBasis::LocalView>()));
60 [[deprecated("This class will be removed after 2.11. Use Dune::Assembler::Assembler together with Dune::Fufem::Forms based local assemblers instead.")]]
112 void assembleBulkEntries(Vector&& vector, LocalAssembler&& localAssembler, const ElementPartition& elementPartition, std::size_t threadCount) const
114 static_assert(Dune::Capabilities::viewThreadSafe<typename GridView::Grid>::v, "Trying to use thread parallel assembler but grid is not viewThreadSafe.");
163 void assembleBulk(Vector&& vector, LocalAssembler&& localAssembler, const ElementPartition& elementPartition, std::size_t threadCount) const
169 assembleBulkEntries(vectorBackend, std::forward<LocalAssembler>(localAssembler), elementPartition, threadCount);
186[[deprecated("This function will be removed after 2.11. Use Dune::Assembler::Assembler together with Dune::Fufem::Forms based local assemblers instead.")]]
auto istlVectorBackend(Vector &v)
int size() const
#define DUNE_NO_DEPRECATED_END
#define DUNE_NO_DEPRECATED_BEGIN
Generic global assembler for functionals on a gridview.
Definition dunefunctionsfunctionalassembler.hh:51
void assembleBulkEntries(Vector &&vector, LocalAssembler &&localAssembler) const
Definition dunefunctionsfunctionalassembler.hh:75
const TestBasis & testBasis_
Definition dunefunctionsfunctionalassembler.hh:174
static decltype(auto) toVectorBackend(V &v)
Definition dunefunctionsfunctionalassembler.hh:66
DuneFunctionsFunctionalAssembler(const TestBasis &tBasis)
create assembler for grid
Definition dunefunctionsfunctionalassembler.hh:61
void assembleBulk(Vector &&vector, LocalAssembler &&localAssembler, const ElementPartition &elementPartition, std::size_t threadCount) const
Definition dunefunctionsfunctionalassembler.hh:163
void assembleBulkEntries(Vector &&vector, LocalAssembler &&localAssembler, const ElementPartition &elementPartition, std::size_t threadCount) const
Definition dunefunctionsfunctionalassembler.hh:112
void assembleBulk(Vector &&vector, LocalAssembler &&localAssembler) const
Definition dunefunctionsfunctionalassembler.hh:153
T forward(T... args)
void parallelAlgorithm(std::size_t threadCount, F &&threadImp)
Utility for implementing parallel algorithms based on colored entity partitions.
Definition parallelalgorithm.hh:147
auto duneFunctionsFunctionalAssembler(const TestBasis &testBasis)
Create DuneFunctionsFunctionalAssembler.
Definition dunefunctionsfunctionalassembler.hh:187
const T & asNumber(const T &t)
Forward given value as number.
Definition asnumber.hh:23
