Skip to content
Snippets Groups Projects
Commit 7aadba3d authored by Robert K's avatar Robert K
Browse files

[bugfix][FVOperator] Initialize model with entity before calling

methods.
parent 11bf0466
No related branches found
No related tags found
1 merge request!48[feature][FVOperator] A specialized FV operator for finite volume.
......@@ -245,6 +245,9 @@ namespace detail
std::integral_constant< bool, value >
) const
{
// initialize model
model_.setEntity( entity );
double dt = prevDt;
auto enIndex = index( entity );
......@@ -282,7 +285,7 @@ namespace detail
{
uEn.evaluate( center_, uLeft );
}
model_.nonStiffSource( left, uLeft, enUpdate );
model_.nonStiffSource( left, uLeft, jacLeft_, enUpdate );
}
// the following only makes sense if the model has a flux implemented
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment