This source file includes following definitions.
- DeformationCoordFunction
- set_timeProvider
- evaluate
- deformation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 #include "grid_evolution.h"
17 #ifdef DEBUG
18 #include <iostream>
19 #endif
20
21 Grid_evolution::DeformationCoordFunction::
22 DeformationCoordFunction(const Parameter::PDE_data& d)
23 {}
24 void Grid_evolution::DeformationCoordFunction::
25 set_timeProvider(Dune::Fem::TimeProviderBase& tp){
26 tp_ptr = &tp;
27 }
28 void Grid_evolution::DeformationCoordFunction::
29 evaluate(const Domain& x, Range& y) const{
30
31 y[0] = x[0];
32 y[1] = x[1];
33 y[2] = x[2];
34 }
35 Grid_evolution::DeformationCoordFunction&
36 Grid_evolution::deformation(const Parameter::PDE_data& d){
37 static Grid_evolution::DeformationCoordFunction deformation {};
38 return deformation;
39 }
40
41