This source file includes following definitions.
- interpolate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 #include "secOrd_op_identity.h"
25 #include "secOrd_op_identity_impl.h"
26
27
28
29
30 using namespace std;
31 using Esfem::SecOrd_op::Identity;
32 using Esfem::Impl::Identity_impl;
33
34 struct Identity::Data{
35 Identity_impl identity_impl {};
36 };
37
38
39
40
41 Identity::Identity()
42 : d_ptr {make_unique<Data>()}
43 {}
44
45 Identity::~Identity() = default;
46
47 void Identity::interpolate(Grid::Vec_FEfun& vfef) const{
48 using FE_function = Grid::Vec_FEfun::Dune_FEfun;
49 Dune::LagrangeInterpolation<FE_function>::
50 interpolateFunction(d_ptr -> identity_impl, vfef);
51 }