mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
added: StandardWellEquations::clear
this zeros the equation system. use the new method in the well implementation.
This commit is contained in:
@@ -35,6 +35,16 @@ StandardWellEquations(const ParallelWellInfo& parallel_well_info)
|
||||
invDuneD_.setBuildMode(DiagMatWell::row_wise);
|
||||
}
|
||||
|
||||
|
||||
template<class Scalar, int numEq>
|
||||
void StandardWellEquations<Scalar,numEq>::clear()
|
||||
{
|
||||
duneB_ = 0.0;
|
||||
duneC_ = 0.0;
|
||||
duneD_ = 0.0;
|
||||
resWell_ = 0.0;
|
||||
}
|
||||
|
||||
#define INSTANCE(N) \
|
||||
template class StandardWellEquations<double,N>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user