Peano
Loading...
Searching...
No Matches
mghype.api.postprocessing.Parser Namespace Reference

Functions

 parse_residuals (file_name, solver_name)
 Parse residuals from input stream.
 
 parse_solution_updates (file_name, solver_name)
 Parse residuals from input stream.
 

Function Documentation

◆ parse_residuals()

mghype.api.postprocessing.Parser.parse_residuals (   file_name,
  solver_name 
)

Parse residuals from input stream.

Parameters
file_nameString We will open the file through ```open( file_name, "r").
solver_nameString We have to know which solver to search for, as MGHyPE simulations might host multiple solvers.
Returns
[Float], [Float], [Float] Returns three sequences, all of the same size. The first sequence is the development of the residuals in the max norm, the second in the 2 norm, and the third one hosts the residuals in the h norm.

Definition at line 9 of file Parser.py.

◆ parse_solution_updates()

mghype.api.postprocessing.Parser.parse_solution_updates (   file_name,
  solver_name 
)

Parse residuals from input stream.

Parameters
file_nameString We will open the file through ```open( file_name, "r").
solver_nameString We have to know which solver to search for, as MGHyPE simulations might host multiple solvers.
Returns
[Float], [Float], [Float] Returns three sequences, all of the same size. The first sequence is the development of the solution updates in the max norm, the second in the 2 norm, and the third one hosts the deltas in the h norm.

Definition at line 47 of file Parser.py.