mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
move assignment of zFraction into ExtboContainer
This commit is contained in:
parent
6024f10527
commit
66ad8bc10a
@ -58,6 +58,14 @@ assignVolumes(const unsigned globalDofIdx,
|
||||
Y_volume_[globalDofIdx] = yVolume;
|
||||
}
|
||||
|
||||
template<class Scalar>
|
||||
void ExtboContainer<Scalar>::
|
||||
assignZFraction(const unsigned globalDofIdx,
|
||||
const Scalar zFraction)
|
||||
{
|
||||
Z_fraction_[globalDofIdx] = zFraction;
|
||||
}
|
||||
|
||||
template<class Scalar>
|
||||
void ExtboContainer<Scalar>::
|
||||
outputRestart(data::Solution& sol)
|
||||
|
@ -44,6 +44,9 @@ public:
|
||||
const Scalar xVolume,
|
||||
const Scalar yVolume);
|
||||
|
||||
void assignZFraction(const unsigned globalDofIdx,
|
||||
const Scalar zFraction);
|
||||
|
||||
void outputRestart(data::Solution& sol);
|
||||
|
||||
bool allocated() const
|
||||
|
@ -447,10 +447,8 @@ public:
|
||||
this->extboC_.assignVolumes(globalDofIdx,
|
||||
intQuants.xVolume().value(),
|
||||
intQuants.yVolume().value());
|
||||
}
|
||||
|
||||
if (!this->extboC_.Z_fraction_.empty()) {
|
||||
this->extboC_.Z_fraction_[globalDofIdx] = intQuants.zFraction().value();
|
||||
this->extboC_.assignZFraction(globalDofIdx,
|
||||
intQuants.zFraction().value());
|
||||
}
|
||||
|
||||
if (!this->extboC_.mFracCo2_.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user