Skip to content

Commit

Permalink
Included a post processing index for plotting the solution error
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeDevloo committed Jun 2, 2024
1 parent 76a5674 commit a623753
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Material/DarcyFlow/TPZMixedDarcyFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ int TPZMixedDarcyFlow::VariableIndex(const std::string &name) const {
if (!strcmp("g_average", name.c_str())) return 14;
if (!strcmp("u_average", name.c_str())) return 15;
if (!strcmp("ExactFluxShiftedOrigin", name.c_str())) return 16;
if (!strcmp("TrueError", name.c_str())) return 101;
DebugStop();
return -1;
}
Expand All @@ -604,6 +605,7 @@ int TPZMixedDarcyFlow::NSolutionVariables(int var) const {
if (var == 14) return 1;
if (var == 15) return 1;
if (var == 16) return 3;
if (var == 101) return 1;
DebugStop();
return -1;
}
Expand Down

0 comments on commit a623753

Please sign in to comment.