#include <cstdio>
#include <fstream>
#include <vector>
#include <string>
#include "hex-arrays.h"
#include "bspline.h"
#include "luft.h"
#include "parallel.h"
Go to the source code of this file.
◆ write_grid()
| void write_grid |
( |
Bspline const & |
bspline, |
|
|
std::string const & |
basename |
|
) |
| |
◆ zip_solution()
This function will convert a solution (the filename of the HDF file should come from the command line option –zipfile) to a series of VTK text files that can be viewed e.g. by the free ParaView program. The resulting VTK files (one for each angular basis vector) will contain real and imaginary part of the wave function component on an rectilinear grid. Parameters of the grid can be further refined by the command line arguments –zipcount and –zipmax).
- Parameters
-
| cmd | Class containing command line options. |
| bspline | B-spline environments. The appropriate one will be chosen by the match between the B-spline count and the solution size. |
| ll | Angular basis. |
See the respective classes for deeper explanation of individual parameters.