Replies: 1 comment
-
There is no direct way to print a For example: {
// Project the coefficient `f` onto the GridFunction `x`
GridFunction x(fespace);
x.ProjectCoefficient(f);
// Visualize `x` with GLVis
socketstream sol_sock("localhost", 19916);
sol_sock.precision(8);
sol_sock << "solution\n" << *mesh << x << flush;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to print out what is in
f
after line 152 has been executed?mfem/examples/ex2.cpp
Line 152 in ff7ed2e
Beta Was this translation helpful? Give feedback.
All reactions