We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16525ce commit 3a45d0aCopy full SHA for 3a45d0a
src/libcadet/model/particle/GeneralRateParticle.cpp
@@ -119,6 +119,8 @@ namespace model
119
const std::string parSpatialMethod = paramProvider.getString("SPATIAL_METHOD");
120
if (parSpatialMethod == "DG")
121
_parDiffOp = new parts::ParticleDiffusionOperatorDG();
122
+ else if (parSpatialMethod == "FV")
123
+ _parDiffOp = new parts::ParticleDiffusionOperatorFV();
124
else
125
throw InvalidParameterException("Unsupported SPATIAL_METHOD '" + parSpatialMethod + "' for GeneralRateParticle. Only 'DG' and 'FV' are supported.");
126
0 commit comments