![]() |
YAC 3.7.0
Yet Another Coupler
|
In order to let YAC write out weight files the writing has to be enabled either through the interface or the configuration file by providing a weight file name.
YAC will write out the weight file in parallel. This parallel output can be configured as described here: Configuration of parallel IO in YAC
The my_weight_file.nc can be converted to vtk using weights2vtk.x in the src/utils directory
weights.vtk can be visualised with paraview.
In the tools subdirectory you can find the python program plot_weights.py
that can be used to visualise grids and weights files. It can be called as follows
Where source_grid and target_grid follow the grid format (see below) and weight_file is the weight file as generated as above.
It will open a matplotlib plot which shows a visualization of the weight file.
Different grid types are available (see tools/grid_utils.py
), including
The format in the brackets denote how to specify the grid at the command line.
To configure the visualization a variaty of options are avaiable. See python plot_weights.py --help
for details.