YetAnotherCoupler 3.2.0
Loading...
Searching...
No Matches
Functions
grid2vtk.h File Reference
#include "basic_grid.h"
#include "grid_cell.h"
Include dependency graph for grid2vtk.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void yac_write_basic_grid_data_to_file (struct yac_basic_grid_data *grid, char const *name)
 
void yac_write_basic_grid_to_file (struct yac_basic_grid *grid, char const *name)
 
void yac_write_grid_cells_to_file (struct yac_grid_cell *cells, size_t num_cells, char *name, size_t num_points_per_edge)
 

Function Documentation

◆ yac_write_basic_grid_data_to_file()

void yac_write_basic_grid_data_to_file ( struct yac_basic_grid_data grid,
char const *  name 
)

writes a basic grid data to file

Parameters
[in]gridbasic grid data
[in]namefile name (".vtk" will be added to this)
Remarks
as a reference, the equator will be included in the file

Definition at line 54 of file grid2vtk.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_write_basic_grid_to_file()

void yac_write_basic_grid_to_file ( struct yac_basic_grid grid,
char const *  name 
)

writes a basic grid to file

Parameters
[in]gridbasic grid
[in]namefile name (".vtk" will be added to this)
Remarks
as a reference, the equator will be included in the file

Definition at line 283 of file grid2vtk.c.

Here is the call graph for this function:

◆ 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]cellslist of cells
[in]num_cellsnumber of entries in cells
[in]namefile name (".vtk" will be added to this)
[in]num_points_per_edgeeach cell edge will be approximated by N straight lines in 3D space, where N is (num_points_per_edge - 1)
Remarks
the edge type will be taken into account

Definition at line 210 of file grid2vtk.c.

Here is the call graph for this function: