1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 #ifndef DUNE_TYPEDEF_HEAT_HPP
17 #define DUNE_TYPEDEF_HEAT_HPP
18
19 #include "deformation.hh"
20
21 typedef Dune::GridSelector::GridType HostGridType;
22 typedef Dune::GeometryGrid< HostGridType, DeformationCoordFunction > GridType;
23
24
25
26
27
28
29 typedef Dune::Fem::AdaptiveLeafGridPart< GridType, Dune::InteriorBorder_Partition > GridPartType;
30 typedef Dune::Fem::FunctionSpace< double, double, GridType::dimensionworld, 1 > FunctionSpaceType;
31
32 typedef Dune::Fem::L2Norm< GridPartType > L2NormType;
33 typedef Dune::Fem::H1Norm< GridPartType > H1NormType;
34
35 typedef Problem::RHSFunction< FunctionSpaceType > RHSFunctionType;
36 typedef Problem::InitialData< FunctionSpaceType > InitialDataType;
37
38
39 typedef Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpaceType, GridPartType, POLORDER > DiscreteFunctionSpaceType;
40
41
42 typedef Dune::Fem::AdaptiveDiscreteFunction< DiscreteFunctionSpaceType > DiscreteFunctionType;
43
44
45 typedef Dune::Fem::CGInverseOperator< DiscreteFunctionType > LinearInverseOperatorType;
46
47
48 typedef Dune::LagrangeInterpolation< DiscreteFunctionType > InterpolationType;
49
50
51 typedef Problem::HeatModel< FunctionSpaceType > HeatModelType;
52 typedef EllipticOperator< DiscreteFunctionType, HeatModelType > EllipticOperatorType;
53
54
55 typedef Problem::NonlinearHeatModel<FunctionSpaceType> NonlinearModel;
56 typedef NonlinearHeatOperator<DiscreteFunctionType,
57 NonlinearModel> NonlinearOperator;
58
59
60 typedef Dune::tuple< DiscreteFunctionType* > IOTupleType;
61
62 typedef Dune::Fem::DataOutput< GridType, IOTupleType > DataOutputType;
63
64 #endif