giacrossi / WenOOF

WENO interpolation Object Oriented Fortran library
3 stars 0 forks source link

Error handling for alpha_base initialize #12

Closed giacrossi closed 7 years ago

giacrossi commented 7 years ago

After https://github.com/giacombum/WenOOF/blob/develop/src/lib/wenoof.f90#L71 an error handling must be inserted to prevent runtime errors in case of wrong alpha_base inputs: the only permitted are 'JS' and 'Z'. The procedure to call is init_error of JS interpolator and the case is https://github.com/giacombum/WenOOF/blob/develop/src/lib/type_weno_interpolator_js.f90#L229

giacrossi commented 7 years ago

Done in 54f5bf8c77333831f6f40cf7f0a7261238324b89