title: Reading const parameter from .dat/.txt file
body: <p>I was looking over any relevant topics related to the subject. Having a really hard time comprehending them. Here is a code snippet that I am working on</p>
  
  <pre><code>int main(int argc, char* argv[]) {
      plbInit(&amp;argc, &amp;argv);
  
      global::directories().setOutputDir("./1/");
  
      const T Ra = 5.15782958531050;
      const T lx  = 1.0;
      const T ly  = 1.0;
      const T uMax  = 1e-3;
      const T Pr = 0.00354054054054;
  
      const T hotTemperature = 1.0;
      const T coldTemperature = 0.0;
      const plint resolution = 999;
  
          RayleighBenardFlowParam&lt;T,NSDESCRIPTOR,ADESCRIPTOR&gt; parameters (
           Ra,
           Pr,
           uMax,
           coldTemperature,
           hotTemperature,
           resolution,
           lx,
           ly
  
     );
  }
  </code></pre>
  
  <p>What I would really like to do is to take all the const parameters as input from a .dat/txt file.<br>
  By definition I would need to initialize them at the same time. Can't really find a convenient way to do that using ifstream.</p>