Fix docs for IncompPropertiesBasic.

This commit is contained in:
Atgeirr Flø Rasmussen
2013-03-22 09:26:27 +01:00
parent b05fec38fd
commit c693c44d25

View File

@@ -42,19 +42,28 @@ namespace Opm
{ {
public: public:
/// Construct from parameters. /// Construct from parameters.
/// The following parameters are accepted (defaults): /// The following parameters are accepted (defaults):\n
/// num_phases (2) Must be 1 or 2. /// \c num_phases (2) -- Must be 1 or 2.\n
/// relperm_func ("Linear") Must be "Constant", "Linear" or "Quadratic". /// \c relperm_func ("Linear") -- Must be "Constant", "Linear" or "Quadratic".\n
/// rho1 [rho2, rho3] (1.0e3) Density in kg/m^3 /// \c rho1 \c rho2, \c rho3 (1.0e3) -- Density in kg/m^3.\n
/// mu1 [mu2, mu3] (1.0) Viscosity in cP /// \c mu1 \c mu2, \c mu3 (1.0) -- Viscosity in cP.\n
/// porosity (1.0) Porosity /// \c porosity (1.0) -- Porosity.\n
/// permeability (100.0) Permeability in mD /// \c permeability (100.0) -- Permeability in mD.\n
IncompPropertiesBasic(const parameter::ParameterGroup& param, IncompPropertiesBasic(const parameter::ParameterGroup& param,
const int dim, const int dim,
const int num_cells); const int num_cells);
/// Construct from arguments a basic two phase fluid. /// Construct properties from arguments.
/// Note that all arguments should be given in SI units
/// for this constructor.
/// \param[in] num_phases Must be 1 or 2.
/// \param[in] rho Phase densities in kg/m^3.
/// \param[in] mu Phase viscosities in Pa*s.
/// \param[in] porosity Must be in [0,1].
/// \param[in] permeability Permeability in m^2.
/// \param[in] dim Must be 2 or 3.
/// \param[in] num_cells The number of grid cells.
IncompPropertiesBasic(const int num_phases, IncompPropertiesBasic(const int num_phases,
const SaturationPropsBasic::RelPermFunc& relpermfunc, const SaturationPropsBasic::RelPermFunc& relpermfunc,
const std::vector<double>& rho, const std::vector<double>& rho,