mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
added: StandardWellEquations::sumDistributed
this sums up the global equation system for distributed wells
This commit is contained in:
@@ -385,6 +385,14 @@ extractCPRPressureMatrix(PressureMatrix& jacobian,
|
||||
}
|
||||
}
|
||||
|
||||
template<class Scalar, int numEq>
|
||||
void StandardWellEquations<Scalar,numEq>::
|
||||
sumDistributed(Parallel::Communication comm)
|
||||
{
|
||||
// accumulate resWell_ and duneD_ in parallel to get effects of all perforations (might be distributed)
|
||||
wellhelpers::sumDistributedWellEntries(duneD_[0][0], resWell_[0], comm);
|
||||
}
|
||||
|
||||
#define INSTANCE(N) \
|
||||
template class StandardWellEquations<double,N>; \
|
||||
template void StandardWellEquations<double,N>:: \
|
||||
|
||||
Reference in New Issue
Block a user