Tutorial problem using the "immiscible" model.
More...
#include <tutorial1problem.hh>
|
| Tutorial1Problem (Simulator &simulator) |
|
void | finishInit () |
|
std::string | name () const |
| Specifies the problem name. This is used for files generated by the simulation. More...
|
|
template<class Context > |
Scalar | temperature (const Context &context, int spaceIdx, int timeIdx) const |
| Returns the temperature at a given position. More...
|
|
template<class Context > |
const DimMatrix & | intrinsicPermeability (const Context &context, int spaceIdx, int timeIdx) const |
| Returns the intrinsic permeability tensor [m^2] at a position. More...
|
|
template<class Context > |
Scalar | porosity (const Context &context, int spaceIdx, int timeIdx) const |
| Defines the porosity [-] of the medium at a given position. More...
|
|
template<class Context > |
const MaterialLawParams & | materialLawParams (const Context &context, int spaceIdx, int timeIdx) const |
| Returns the parameter object for the material law at a given position. More...
|
|
template<class Context > |
void | boundary (BoundaryRateVector &values, const Context &context, int spaceIdx, int timeIdx) const |
| Evaluates the boundary conditions. More...
|
|
template<class Context > |
void | source (RateVector &source, const Context &context, int spaceIdx, int timeIdx) const |
|
template<class Context > |
void | initial (PrimaryVariables &values, const Context &context, int spaceIdx, int timeIdx) const |
| Evaluates the initial value at a given position in the domain. More...
|
|
template<class TypeTag>
class Ewoms::Tutorial1Problem< TypeTag >
Tutorial problem using the "immiscible" model.
The constructor of the problem. This only allocates the memory required by the problem. The constructor is supposed to never ever throw an exception.
template<class TypeTag >
template<class Context >
void Ewoms::Tutorial1Problem< TypeTag >::boundary |
( |
BoundaryRateVector & |
values, |
|
|
const Context & |
context, |
|
|
int |
spaceIdx, |
|
|
int |
timeIdx |
|
) |
| const |
|
inline |
This method initializes the data structures allocated by the problem constructor. In contrast to the constructor, exceptions thrown from within this method won't lead to segmentation faults.
template<class TypeTag >
template<class Context >
void Ewoms::Tutorial1Problem< TypeTag >::initial |
( |
PrimaryVariables & |
values, |
|
|
const Context & |
context, |
|
|
int |
spaceIdx, |
|
|
int |
timeIdx |
|
) |
| const |
|
inline |
template<class TypeTag >
template<class Context >
const DimMatrix& Ewoms::Tutorial1Problem< TypeTag >::intrinsicPermeability |
( |
const Context & |
context, |
|
|
int |
spaceIdx, |
|
|
int |
timeIdx |
|
) |
| const |
|
inline |
Returns the intrinsic permeability tensor [m^2] at a position.
template<class TypeTag >
template<class Context >
const MaterialLawParams& Ewoms::Tutorial1Problem< TypeTag >::materialLawParams |
( |
const Context & |
context, |
|
|
int |
spaceIdx, |
|
|
int |
timeIdx |
|
) |
| const |
|
inline |
Specifies the problem name. This is used for files generated by the simulation.
template<class TypeTag >
template<class Context >
Defines the porosity [-] of the medium at a given position.
template<class TypeTag >
template<class Context >
void Ewoms::Tutorial1Problem< TypeTag >::source |
( |
RateVector & |
source, |
|
|
const Context & |
context, |
|
|
int |
spaceIdx, |
|
|
int |
timeIdx |
|
) |
| const |
|
inline |
Evaluates the source term for all conserved quantities at a given position of the domain [kg/(m^3 * s)]. Positive values mean that mass is created.
template<class TypeTag >
template<class Context >
Scalar Ewoms::Tutorial1Problem< TypeTag >::temperature |
( |
const Context & |
context, |
|
|
int |
spaceIdx, |
|
|
int |
timeIdx |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file:
|