Skip to content

Commit 3a45d0a

Browse files
committed
Enable FV particle diffusion operator in 1D particle
1 parent 16525ce commit 3a45d0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcadet/model/particle/GeneralRateParticle.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ namespace model
119119
const std::string parSpatialMethod = paramProvider.getString("SPATIAL_METHOD");
120120
if (parSpatialMethod == "DG")
121121
_parDiffOp = new parts::ParticleDiffusionOperatorDG();
122+
else if (parSpatialMethod == "FV")
123+
_parDiffOp = new parts::ParticleDiffusionOperatorFV();
122124
else
123125
throw InvalidParameterException("Unsupported SPATIAL_METHOD '" + parSpatialMethod + "' for GeneralRateParticle. Only 'DG' and 'FV' are supported.");
124126

0 commit comments

Comments
 (0)