Commit b3280b29 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#820 Add dev file to compare with Freefem.

parent ff2e39b1
...@@ -166,6 +166,19 @@ namespace HappyHeart ...@@ -166,6 +166,19 @@ namespace HappyHeart
GetDifferentialDarcyOperator().Assemble(std::make_tuple(std::ref(contribution_with_coeff))); GetDifferentialDarcyOperator().Assemble(std::make_tuple(std::ref(contribution_with_coeff)));
} }
const auto filename = parent::GetOutputDirectory(numbering_subset)
+ "/"
+ DifferentialPreffix(differential::yes)
+ "rhs_" + GetIterationTag() + ".m";
std::cout << "FILE = " << filename << std::endl;
rhs.View(parent::MpiHappyHeart(),
filename,
__FILE__, __LINE__,
PETSC_VIEWER_ASCII_MATLAB);
// \todo #820 At the moment, I accept my norm is not the same as Bruno's; see what Petsc gives when // \todo #820 At the moment, I accept my norm is not the same as Bruno's; see what Petsc gives when
// SNES is applied (system_rhs's is what we got in hyperelastic model). // SNES is applied (system_rhs's is what we got in hyperelastic model).
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment