10-04-2017, 09:36 PM
PRISM Coupling and I/O System
[attachment=18401]
Insures data coupling exchanges between any two component models either directly or via or the transformer including repartitioning with MPI1 or MPI2
Insures data input/output from/to files
=>Switch between coupling exchanges
and input/output is:
indicated by the user in a coupling configuration file (XML)
transparent for the component model
managed automatically by the PSMILe
Different classes of primitives insuring:
The Startup phase
Initialization; prism_init( ),
Termination of definition; prism_enddef( )
The Definition phase
Definition of Grid; prism_def_grid( ), prism_set_mask( ),
Definition of Data; prism_def_var( )
The Transfer of fields
Exchange or I/O of Data; prism_put( ), prism_get( )
The Termination phase
Termination of PRISM application; prism_terminate( )
Different transformations:
Spatial interpolation: nearest-neighbour, bilinear, bicubic, conservative remapping,
Other spatial transformations: flux correction, merging, etc.
General algebraic operations
Combination of coupling data produced by one model may have to be combined before the exchange.
On different types of fields
1D, 2D, 3D, 4D, scalar or vector, static or dynamic structure
On different types of grids
regular, gaussian, stretched, reduced, unstructured, etc.