Implement Input-Output for Rational Approximation (Feature #719)


Added by Alessandro Sciarra almost 3 years ago. Updated almost 3 years ago.


Status:Feedback Start date:21 Nov 2014
Priority:Normal Due date:
Assignee:Matthias Bach % Done:

90%

Category:-
Target version:-

Description

It would be good to have the possibility to save to file the Rational Approximation.

The reading from file lacks of checks, improve it!


Associated revisions

Revision fec403fc
Added by Alessandro Sciarra almost 3 years ago

Changed output to file of Rational_Approx to overwrite from append.
refs #719

Revision 7ddab56e
Added by Alessandro Sciarra almost 3 years ago

Added checks for the read Rational Approximations from file.
refs #719

History

Updated by Alessandro Sciarra almost 3 years ago

Added the possibility to save to file the Rational Approximation and tested it.

  • % Done changed from 0 to 70

Updated by Alessandro Sciarra almost 3 years ago

At the moment there is a work-around for a quite deep problem. The input parameters in the meta package are set via command line or input file. And then it has not been developed any setter to modify the parameters from inside some other package. Nevertheless, when the Rational Approximations are read from file, also some related parameters are read into the object Rational_Approximation. But these are usually specified as RHMC parameters, in the case the Rational Approximations are calculated from scratch. So in the case they are read from file, there could be some discrepancies between the parametersRhmc (the default ones) and those read from file (since once read they are not set, having no setters). For the moment, in the RHMC executable, if the Rational Approximations are read from file, after the reading, a parameters consistency check is done. But this forces the user to give in the input file the same parameters contained into the Rational Approximation files (if different from the default ones). It would be good to avoid this.

  • Assignee changed from Alessandro Sciarra to Matthias Bach
  • % Done changed from 70 to 90
  • Status changed from New to Feedback

Also available in: Atom PDF