61 const char *filename);
85 const char *filename);
121 cont,
int continuous);
188 sc_array_t * positions,
227 int num_cell_scalars,
228 int num_cell_vectors,
229 const char *fieldnames[],
230 sc_array_t * values[]);
270 int num_cell_scalars,
271 int num_cell_vectors, ...);
311 int num_cell_scalars,
312 int num_cell_vectors,
348 int num_point_scalars,
349 int num_point_vectors, ...);
The top-level 2D p4est interface.
Transform from tree-local "reference" coordinate system to global "physical space" coordinates.
int p4est_vtk_write_footer(p4est_vtk_context_t *cont)
Write the VTU footer and clean up.
void p4est_vtk_context_destroy(p4est_vtk_context_t *context)
Cleanly destroy a p4est_vtk_context_t structure.
void p4est_vtk_context_set_continuous(p4est_vtk_context_t *cont, int continuous)
Modify the context parameter for expecting continuous point data.
p4est_vtk_context_t * p4est_vtk_write_cell_data(p4est_vtk_context_t *cont, int write_tree, int write_level, int write_rank, int wrap_rank, int num_cell_scalars, int num_cell_vectors, const char *fieldnames[], sc_array_t *values[])
Write VTK cell data.
void p4est_vtk_context_set_geom(p4est_vtk_context_t *cont, p4est_geometry_t *geom)
Modify the geometry transformation registered in the context.
p4est_vtk_context_t * p4est_vtk_write_cell_dataf(p4est_vtk_context_t *cont, int write_tree, int write_level, int write_rank, int wrap_rank, int num_cell_scalars, int num_cell_vectors,...)
Write VTK cell data.
p4est_vtk_context_t * p4est_vtk_write_header_ho(p4est_vtk_context_t *cont, sc_array_t *positions, int Nnodes1D)
Write the VTK header for higher order visualization.
void p4est_vtk_write_file(p4est_t *p4est, p4est_geometry_t *geom, const char *filename)
Write the p4est in VTK format.
p4est_vtk_context_t * p4est_vtk_write_header(p4est_vtk_context_t *cont)
Write the VTK header.
void p4est_vtk_context_set_scale(p4est_vtk_context_t *cont, double scale)
Modify the context parameter for scaling the quadrants.
p4est_vtk_context_t * p4est_vtk_write_cell_datav(p4est_vtk_context_t *cont, int write_tree, int write_level, int write_rank, int wrap_rank, int num_cell_scalars, int num_cell_vectors, va_list ap)
Write VTK cell data.
p4est_vtk_context_t * p4est_vtk_context_new(p4est_t *p4est, const char *filename)
The first call to write a VTK file using individual functions.
struct p4est_vtk_context p4est_vtk_context_t
Opaque context type for writing VTK output with multiple function calls.
Definition: p4est_vtk.h:42
p4est_vtk_context_t * p4est_vtk_write_point_dataf(p4est_vtk_context_t *cont, int num_point_scalars, int num_point_vectors,...)
Write VTK point data.
Encapsulates a custom transformation from tree-local coordinates to user defined physical space.
Definition: p4est_geometry.h:86
The p4est forest datatype.
Definition: p4est.h:136