Metis#
- class classes.Metis.Metis#
Conducts all the computations, stores Input-Parameters, sets up variables, initialises classes and solving methods: Computation parameters have to be given in an input-file one-to-one. Leaving out one or another will immediately lead to wrong or non-existing results. Postprocessing parameters can be given in an input-file (not necessary for computing). Solution quantities will be filled by Metis. Error analysis parameters are only necessary if you want to conduct an error analysis for several timestep-sizes.
- Constructor Summary
- Metis(INPUT_FILE, num_dt, num_int)#
Constructor: sets up the METIS workspace and loads all configurations
- Property Summary
- ALL_DT#
Error analysis parameters Only necessary if you want to conduct an error analysis for several timestep-sizes
- DIM#
Computation parameters Have to be given in an input-file one-to-one. Leaving out one or another will immediately lead to wrong or non-existing results.
- plot_quantities#
Postprocessing parameters Can be given in an input-file (not necessary for computing)
- t#
Solution quantities Will be filled by Metis
- Method Summary
- check_user_input()#
Check if user input is valid
- create_log_file()#
Create log-file
- define_classes()#
Defines system, integrator and solver objects System: Takes user-defined string and evaluates it as the constructor of a class system
- get_config_input(INPUT_FILE, num_dt, num_int)#
reads input-file and stores it in the attributes Define all the parameters that METIS needs to run a simulation in a .m-file
- is_class_available(~, directory, this_class)#
Check if a class is available
- set_solution_matrix(this_integrator, this_system)#
set up the matrix with simulation results