Fix typo and minimize formatting changes.

This commit is contained in:
Atgeirr Flø Rasmussen 2013-04-22 11:29:59 +02:00
parent 5578400e72
commit 5d58dc4500
2 changed files with 4 additions and 2 deletions

View File

@ -30,7 +30,7 @@ namespace Opm
/// Construct solver.
/// \param[in] gri d A 2d or 3d grid.
/// \param[in] grid A 2d or 3d grid.
/// \param[in] use_multidim_upwind If true, use multidimensional tof upwinding.
TofReorder::TofReorder(const UnstructuredGrid& grid,
const bool use_multidim_upwind)
@ -189,6 +189,7 @@ namespace Opm
downwind_flux += flux;
}
}
// Compute tof.
tof_[cell] = (porevolume_[cell] - upwind_term)/downwind_flux;
@ -203,6 +204,7 @@ namespace Opm
void TofReorder::solveSingleCellMultidimUpwind(const int cell)
{
// Compute flux terms.

View File

@ -42,7 +42,7 @@ namespace Opm
{
public:
/// Construct solver.
/// \param[in] grid A 2d or 3d grid.
/// \param[in] grid A 2d or 3d grid.
/// \param[in] use_multidim_upwind If true, use multidimensional tof upwinding.
TofReorder(const UnstructuredGrid& grid,
const bool use_multidim_upwind = false);