tpism_energy.i - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
HTML git clone git://src.adamsgaard.dk/pism
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
tpism_energy.i (1359B)
---
1 %{
2 #include "energy/EnthalpyModel.hh"
3 #include "energy/TemperatureModel.hh"
4 #include "regional/EnthalpyModel_Regional.hh"
5 #include "energy/enthSystem.hh"
6 using pism::MaskValue;
7 #include "energy/tempSystem.hh"
8 #include "energy/BedrockColumn.hh"
9 %}
10
11 %rename(EnergyModelInputs) pism::energy::Inputs;
12
13 /* wrap the enthalpy solver to make testing easier */
14 %ignore pism::TridiagonalSystem::solve(unsigned int, double *);
15 %include "util/ColumnSystem.hh"
16
17 %rename(get_lambda) pism::energy::enthSystemCtx::lambda;
18 %include "energy/enthSystem.hh"
19
20 %rename(get_lambda) pism::energy::tempSystemCtx::lambda;
21 %include "energy/tempSystem.hh"
22
23 %shared_ptr(pism::energy::EnergyModel)
24 %include "energy/EnergyModel.hh"
25
26 %shared_ptr(pism::energy::EnthalpyModel)
27 %shared_ptr(pism::energy::DummyEnergyModel)
28 %feature("notabstract") pism::energy::EnthalpyModel;
29 %feature("notabstract") pism::energy::DummyEnergyModel;
30 %include "energy/EnthalpyModel.hh"
31
32 %shared_ptr(pism::energy::TemperatureModel)
33 %feature("notabstract") pism::energy::TemperatureModel;
34 %include "energy/TemperatureModel.hh"
35
36 %shared_ptr(pism::energy::EnthalpyModel_Regional)
37 %feature("notabstract") pism::energy::EnthalpyModel_Regional;
38 %include "regional/EnthalpyModel_Regional.hh"
39
40 %ignore pism::energy::BedrockColumn::solve(double, double, double, const double *, double *);
41 %include "energy/BedrockColumn.hh"