source: XIOS/trunk/src/config/interpolate_domain_attribute.conf @ 1004

Last change on this file since 1004 was 1004, checked in by mhnguyen, 8 years ago

Some modifications of reading/writing interpolation weight from/into a file
There are 3 attributes concerning read/write weights from/into a file

  • write_weight: true/false. Default value: false
  • weight_filename.
  • mode: Default value: compute + read: read from file whose name is weight_filename + compute: compute weights + read_or_compute: if weight_filename already exists, the weights will be read from it; otherwise the weights will be computed

In mode compute and read_or_compute, if there is no weight_filename, a filename whose format
xios_interpolation_weight_nameOfContext_nameOfDomainSource_nameOfDomainDestination.nc will be used for read/write.

Test
+) On Curie
+) Work

File size: 292 bytes
RevLine 
[657]1/* GLOBAL */
2DECLARE_ATTRIBUTE(StdString, file)
[689]3DECLARE_ATTRIBUTE(int, order)
[846]4DECLARE_ATTRIBUTE(bool, renormalize)
[982]5
6/* Write interpolation weights into file */
[1004]7DECLARE_ENUM3(mode,compute,read,read_or_compute)
8DECLARE_ATTRIBUTE(StdString, weight_filename)
9DECLARE_ATTRIBUTE(bool, write_weight)
Note: See TracBrowser for help on using the repository browser.