This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
solvers:griddatareader [2013/04/02 09:27] tzwinger [Known Bugs] |
solvers:griddatareader [2020/09/17 07:49] fgillet [SIF contents] |
||
---|---|---|---|
Line 11: | Line 11: | ||
==== Compilation ==== | ==== Compilation ==== | ||
+ | **Update 37f46d0** under elmerice branch\\ | ||
+ | Now you can automatically build, test & compile the solver with cmake. \\ | ||
+ | |||
+ | **Update e375a11** under elmerice branch:\\ | ||
+ | cmake variable // | ||
+ | |||
+ | |||
+ | KeyWorkds: | ||
+ | < | ||
+ | cmake | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | __Old Version__\\ | ||
This solver is not part of the standard Elmer/Ice installation and has to be compiled manually. There is an example compilation call in the directory. Naturally, the system needs to have a compatible NetCDF library installed. In particular, the Fortran compiler with which the NetCDF library has been compiled has to be the same Elmer and Elmer/Ice has been compiled with (module compatibility) | This solver is not part of the standard Elmer/Ice installation and has to be compiled manually. There is an example compilation call in the directory. Naturally, the system needs to have a compatible NetCDF library installed. In particular, the Fortran compiler with which the NetCDF library has been compiled has to be the same Elmer and Elmer/Ice has been compiled with (module compatibility) | ||
==== General Information ==== | ==== General Information ==== | ||
Line 22: | Line 37: | ||
Solver 1 | Solver 1 | ||
Equation = Reader | Equation = Reader | ||
- | Procedure = "./GridDataReader" | + | Procedure = " |
!---- NOTE: File is case sensitive, String is not! | !---- NOTE: File is case sensitive, String is not! | ||
Filename = File " | Filename = File " | ||
+ | | ||
+ | !----- Load the whole netcdf array instead of inquiring only the values required | ||
+ | ! for the interpolation at the current mesh node | ||
+ | Read full array = Logical [default: false] | ||
Time Dim Name = String " | Time Dim Name = String " | ||
Line 36: | Line 55: | ||
!--- Interpolation variables tolerances | !--- Interpolation variables tolerances | ||
- | | + | X Epsilon |
- | | + | Y Epsilon |
- | | + | Time Epsilon |
Interpolation Bias = Real 0.0 | Interpolation Bias = Real 0.0 | ||
Line 53: | Line 72: | ||
End | End | ||
</ | </ | ||
+ | |||
+ | ==== Test ==== | ||
+ | Located under '' | ||
+ | You can test with | ||
+ | < | ||
+ | ctest -L GridDataReader | ||
+ | or | ||
+ | ctest -L netcdf | ||
+ | </ | ||
+ | |||
+ | ==== Example ==== | ||
+ | The directory '' |