#include <stdio.h>
#include <string.h>
#include <float.h>
#include "grid2vtk.h"
#include "vtk_output.h"
#include "geometry.h"
#include "ensure_array_size.h"
#include "utils_common.h"
Go to the source code of this file.
|
static void | get_bounding_circle_point_data (struct bounding_circle bnd_circle, size_t num_points, double *points) |
|
static void | get_equator_point_data (size_t num_points, double *points) |
|
void | yac_write_basic_grid_data_to_file (struct yac_basic_grid_data *grid, char const *name) |
|
static void | get_edge_points (double *a, double *b, enum yac_edge_type edge_type, double(**points)[3], size_t *points_array_size, size_t *num_points, size_t num_points_per_edge) |
|
void | yac_write_grid_cells_to_file (struct yac_grid_cell *cells, size_t num_cells, char *name, size_t num_points_per_edge) |
|
void | yac_write_basic_grid_to_file (struct yac_basic_grid *grid, char const *name) |
|
◆ get_bounding_circle_point_data()
static void get_bounding_circle_point_data |
( |
struct bounding_circle | bnd_circle, |
|
|
size_t | num_points, |
|
|
double * | points ) |
|
static |
◆ get_edge_points()
static void get_edge_points |
( |
double * | a, |
|
|
double * | b, |
|
|
enum yac_edge_type | edge_type, |
|
|
double(**) | points[3], |
|
|
size_t * | points_array_size, |
|
|
size_t * | num_points, |
|
|
size_t | num_points_per_edge ) |
|
static |
◆ get_equator_point_data()
static void get_equator_point_data |
( |
size_t | num_points, |
|
|
double * | points ) |
|
static |
◆ yac_write_basic_grid_data_to_file()
void yac_write_basic_grid_data_to_file |
( |
struct yac_basic_grid_data * | grid, |
|
|
char const * | name ) |
◆ yac_write_basic_grid_to_file()
void yac_write_basic_grid_to_file |
( |
struct yac_basic_grid * | grid, |
|
|
char const * | name ) |
◆ yac_write_grid_cells_to_file()
void yac_write_grid_cells_to_file |
( |
struct yac_grid_cell * | cells, |
|
|
size_t | num_cells, |
|
|
char * | name, |
|
|
size_t | num_points_per_edge ) |
writes a list of cells into a vtk file, which can be visualised by paraview
- Parameters
-
[in] | cells | list of cells |
[in] | num_cells | number of entries in cells |
[in] | name | file name (".vtk" will be added to this) |
[in] | num_points_per_edge | each cell edge will be approximated by N straight lines in 3D space, where N is (num_points_per_edge - 1) |
- Examples
- test_grid2vtk.c.
Definition at line 210 of file grid2vtk.c.