mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix typo and minimize formatting changes.
This commit is contained in:
parent
5578400e72
commit
5d58dc4500
@ -30,7 +30,7 @@ namespace Opm
|
|||||||
|
|
||||||
|
|
||||||
/// Construct solver.
|
/// 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.
|
/// \param[in] use_multidim_upwind If true, use multidimensional tof upwinding.
|
||||||
TofReorder::TofReorder(const UnstructuredGrid& grid,
|
TofReorder::TofReorder(const UnstructuredGrid& grid,
|
||||||
const bool use_multidim_upwind)
|
const bool use_multidim_upwind)
|
||||||
@ -189,6 +189,7 @@ namespace Opm
|
|||||||
downwind_flux += flux;
|
downwind_flux += flux;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compute tof.
|
// Compute tof.
|
||||||
tof_[cell] = (porevolume_[cell] - upwind_term)/downwind_flux;
|
tof_[cell] = (porevolume_[cell] - upwind_term)/downwind_flux;
|
||||||
|
|
||||||
@ -203,6 +204,7 @@ namespace Opm
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void TofReorder::solveSingleCellMultidimUpwind(const int cell)
|
void TofReorder::solveSingleCellMultidimUpwind(const int cell)
|
||||||
{
|
{
|
||||||
// Compute flux terms.
|
// Compute flux terms.
|
||||||
|
Loading…
Reference in New Issue
Block a user