Currently IO requires input variables to match the solver's precision. This prevents users from reading input files (like IBM masks or restarts) generated in double-precision when running a single-precision simulation (and vice-versa).
We should allow automatic type conversion in the ADIOS2 reader. It should detect the variable type in the file and convert it to solver's precision if a mismatch is found.
Currently IO requires input variables to match the solver's precision. This prevents users from reading input files (like IBM masks or restarts) generated in double-precision when running a single-precision simulation (and vice-versa).
We should allow automatic type conversion in the ADIOS2 reader. It should detect the variable type in the file and convert it to solver's precision if a mismatch is found.