Corrected typing pointed out by atgeirr in respose to pullrequest
This commit is contained in:
parent
bf082c57b6
commit
fd0d060ed8
@ -135,7 +135,8 @@ namespace Opm
|
|||||||
static void reportVolumes(std::ostream &os,double satvol[2],double tot_porevol_init,
|
static void reportVolumes(std::ostream &os,double satvol[2],double tot_porevol_init,
|
||||||
double tot_injected[2], double tot_produced[2],
|
double tot_injected[2], double tot_produced[2],
|
||||||
double injected[2], double produced[2],
|
double injected[2], double produced[2],
|
||||||
double init_satvol[2]){
|
double init_satvol[2])
|
||||||
|
{
|
||||||
std::cout.precision(5);
|
std::cout.precision(5);
|
||||||
const int width = 18;
|
const int width = 18;
|
||||||
os << "\nVolume balance report (all numbers relative to total pore volume).\n";
|
os << "\nVolume balance report (all numbers relative to total pore volume).\n";
|
||||||
@ -193,7 +194,7 @@ namespace Opm
|
|||||||
Opm::writeVtkData(grid, dm, vtkfile);
|
Opm::writeVtkData(grid, dm, vtkfile);
|
||||||
}
|
}
|
||||||
static void outputVectorMatlab(const std::string name,
|
static void outputVectorMatlab(const std::string name,
|
||||||
const std::vector<int> vec,
|
const std::vector<int>& vec,
|
||||||
const int step,
|
const int step,
|
||||||
const std::string& output_dir)
|
const std::string& output_dir)
|
||||||
{
|
{
|
||||||
|
@ -645,6 +645,10 @@ namespace Opm
|
|||||||
|
|
||||||
toBothSat(saturation_, saturation);
|
toBothSat(saturation_, saturation);
|
||||||
}
|
}
|
||||||
|
void TransportModelTwophase::getReorderIterations()
|
||||||
|
{
|
||||||
|
return reorder_iterations_;
|
||||||
|
};
|
||||||
} // namespace Opm
|
} // namespace Opm
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,7 +74,9 @@ namespace Opm
|
|||||||
const double* porevolume,
|
const double* porevolume,
|
||||||
const double dt,
|
const double dt,
|
||||||
std::vector<double>& saturation);
|
std::vector<double>& saturation);
|
||||||
void reportIterations(std::ostream &os);
|
//// Return reorder iterations
|
||||||
|
////
|
||||||
|
//// \param[out] vector of iteration per cell
|
||||||
const std::vector<int>& getReorderIterations(){return reorder_iterations_;};
|
const std::vector<int>& getReorderIterations(){return reorder_iterations_;};
|
||||||
private:
|
private:
|
||||||
virtual void solveSingleCell(const int cell);
|
virtual void solveSingleCell(const int cell);
|
||||||
|
Loading…
Reference in New Issue
Block a user