mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 04:48:23 +01:00
try closed boundary
This commit is contained in:
parent
115dd87ba3
commit
32b2c5c741
@ -40,7 +40,8 @@ inline double getFluxApplyConc(bool inbound, std::uint32_t curr_index,
|
||||
// On inbound flux and non-boundary condition
|
||||
if (inbound) {
|
||||
if (neighbor_index == -1) {
|
||||
return bc;
|
||||
// HACK: assume closed boundaries for benchmark
|
||||
return conc[curr_index];
|
||||
}
|
||||
return conc[neighbor_index];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user