Il giorno gio 10 apr 2025 alle ore 11:25 Peder Jørgensgaard Olesen via
petsc-users ha scritto:
> I would like to output the contents of a Vec to an ASCII file in which the
> entries are all on one line, as "x[0] x[1] x[2] ... x[N-1]". This can
> be done in a slightly roundabout way by putting
Hi Peder,
You can run with '-help -vec_view' (or whatever your view option is) and
that prints all options that are queried for.
This is very noisy so grep on 'vec_view' and you will see the option
information: what it was, what it is after the query, and what options it
accepts.
I don't know of
I would like to output the contents of a Vec to an ASCII file in which the
entries are all on one line, as "x[0] x[1] x[2] ... x[N-1]". This can be
done in a slightly roundabout way by putting the values in a 1xN dense Mat,
assembling the matrix, and then use MatView with a suitable format,