mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix issue when BCPROP is not set initially
This commit is contained in:
@@ -467,7 +467,9 @@ public:
|
||||
const IntensiveQuantities& insideIntQuants,
|
||||
unsigned globalSpaceIdx)
|
||||
{
|
||||
if (bdyInfo.type == BCType::RATE) {
|
||||
if (bdyInfo.type == BCType::NONE) {
|
||||
bdyFlux = 0.0;
|
||||
} else if (bdyInfo.type == BCType::RATE) {
|
||||
computeBoundaryFluxRate(bdyFlux, bdyInfo);
|
||||
} else if (bdyInfo.type == BCType::FREE || bdyInfo.type == BCType::DIRICHLET) {
|
||||
computeBoundaryFluxFree(problem, bdyFlux, bdyInfo, insideIntQuants, globalSpaceIdx);
|
||||
|
||||
Reference in New Issue
Block a user