OGS
LocalAssemblerInterface.h
Go to the documentation of this file.
1 
11 #pragma once
12 
15 
16 namespace ProcessLib
17 {
18 namespace TH2M
19 {
22 {
23  virtual std::size_t setIPDataInitialConditions(
24  std::string const& name, double const* values,
25  int const integration_order) = 0;
26 
27  virtual std::vector<double> getSigma() const = 0;
28 
29  virtual std::vector<double> const& getIntPtSigma(
30  const double t,
31  std::vector<GlobalVector*> const& x,
32  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
33  std::vector<double>& cache) const = 0;
34 
35  virtual std::vector<double> getEpsilon() const = 0;
36 
37  virtual std::vector<double> const& getIntPtEpsilon(
38  const double t,
39  std::vector<GlobalVector*> const& x,
40  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
41  std::vector<double>& cache) const = 0;
42 
43  virtual std::vector<double> const& getIntPtDarcyVelocityGas(
44  const double t,
45  std::vector<GlobalVector*> const& x,
46  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
47  std::vector<double>& cache) const = 0;
48 
49  virtual std::vector<double> const& getIntPtDarcyVelocityLiquid(
50  const double t,
51  std::vector<GlobalVector*> const& x,
52  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
53  std::vector<double>& cache) const = 0;
54 
55  virtual std::vector<double> const& getIntPtLiquidDensity(
56  const double t,
57  std::vector<GlobalVector*> const& x,
58  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
59  std::vector<double>& cache) const = 0;
60 
61  virtual std::vector<double> const& getIntPtGasDensity(
62  const double t,
63  std::vector<GlobalVector*> const& x,
64  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
65  std::vector<double>& cache) const = 0;
66 
67  virtual std::vector<double> const& getIntPtSolidDensity(
68  const double t,
69  std::vector<GlobalVector*> const& x,
70  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
71  std::vector<double>& cache) const = 0;
72 
73  virtual std::vector<double> const& getIntPtVapourPressure(
74  const double t,
75  std::vector<GlobalVector*> const& x,
76  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
77  std::vector<double>& cache) const = 0;
78 
79  virtual std::vector<double> const& getIntPtPorosity(
80  const double t,
81  std::vector<GlobalVector*> const& x,
82  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
83  std::vector<double>& cache) const = 0;
84 
85  virtual std::vector<double> getSaturation() const = 0;
86 
87  virtual std::vector<double> const& getIntPtSaturation(
88  const double t,
89  std::vector<GlobalVector*> const& x,
90  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
91  std::vector<double>& cache) const = 0;
92 
93  virtual std::vector<double> const& getIntPtMoleFractionGas(
94  const double t,
95  std::vector<GlobalVector*> const& x,
96  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
97  std::vector<double>& cache) const = 0;
98 
99  virtual std::vector<double> const& getIntPtMassFractionGas(
100  const double t,
101  std::vector<GlobalVector*> const& x,
102  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
103  std::vector<double>& cache) const = 0;
104 
105  virtual std::vector<double> const& getIntPtMassFractionLiquid(
106  const double t,
107  std::vector<GlobalVector*> const& x,
108  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
109  std::vector<double>& cache) const = 0;
110 
111  virtual std::vector<double> const& getIntPtRelativePermeabilityGas(
112  const double t,
113  std::vector<GlobalVector*> const& x,
114  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
115  std::vector<double>& cache) const = 0;
116 
117  virtual std::vector<double> const& getIntPtRelativePermeabilityLiquid(
118  const double t,
119  std::vector<GlobalVector*> const& x,
120  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
121  std::vector<double>& cache) const = 0;
122 
123  virtual std::vector<double> const& getIntPtEnthalpyGas(
124  const double t,
125  std::vector<GlobalVector*> const& x,
126  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
127  std::vector<double>& cache) const = 0;
128 
129  virtual std::vector<double> const& getIntPtEnthalpyLiquid(
130  const double t,
131  std::vector<GlobalVector*> const& x,
132  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
133  std::vector<double>& cache) const = 0;
134 
135  virtual std::vector<double> const& getIntPtEnthalpySolid(
136  const double t,
137  std::vector<GlobalVector*> const& x,
138  std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
139  std::vector<double>& cache) const = 0;
140 };
141 
142 } // namespace TH2M
143 } // namespace ProcessLib
virtual std::vector< double > const & getIntPtEnthalpyLiquid(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtMassFractionLiquid(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtLiquidDensity(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtMoleFractionGas(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtSolidDensity(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtPorosity(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtGasDensity(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > getSaturation() const =0
virtual std::vector< double > getEpsilon() const =0
virtual std::vector< double > const & getIntPtRelativePermeabilityGas(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtDarcyVelocityLiquid(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtEnthalpyGas(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtRelativePermeabilityLiquid(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > getSigma() const =0
virtual std::vector< double > const & getIntPtEnthalpySolid(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::size_t setIPDataInitialConditions(std::string const &name, double const *values, int const integration_order)=0
virtual std::vector< double > const & getIntPtSigma(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtVapourPressure(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtMassFractionGas(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtDarcyVelocityGas(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtEpsilon(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtSaturation(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0