Loading [MathJax]/extensions/TeX/AMSsymbols.js

DUNE-ACFEM (unstable)

elementmeasure.hh
1#ifndef __DUNE_ACFEM_FUNCTIONS_MODULES_ELEMENTMEASURE_HH__
2#define __DUNE_ACFEM_FUNCTIONS_MODULES_ELEMENTMEASURE_HH__
3
4#include "../policy.hh"
5#include "../placeholders/elementmeasure.hh"
6#include "../gridfunction.hh"
7
8namespace Dune {
9
10 namespace ACFem {
11
12 namespace GridFunction {
13
18 template<class GridPart, std::size_t IndeterminateId = Policy::indeterminateId()>
19 auto elementMeasure(const GridPart& gridPart, IndexConstant<IndeterminateId> id = IndexConstant<IndeterminateId>{})
20 {
21 return gridFunction(elementMeasurePlaceholder(gridPart), 0_c, id);
22 }
23
25
26 } // NS GridFunction
27
28 using GridFunction::elementMeasure;
29
30 } // NS ACFem
31
32} // NS Dune
33
34#endif // __DUNE_ACFEM_FUNCTIONS_MODULES_ELEMENTMEASURE_HH__
auto gridFunction(const GridPart &gridPart, T &&t, IndexConstant< MaxOrder > maxOrder=IndexConstant< MaxOrder >{}, IndexConstant< IndeterminateId > id=IndexConstant< IndeterminateId >{})
Generate a BindableGridFunction which wraps a copy of T.
Definition: gridfunction.hh:23
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Mar 12, 23:28, 2025)