script/dg_plot_1D.py script¶
Script for plotting 1D DG FEM data stored in VTK files
- dg_plot_1D.load_and_plot_fun(folder, filename, t0, t1, tn, ic_fun=None, exact=None, compare=False, polar=False)[source]¶
- Parameters
- folderstr
folder where to look for files
- filenamestr
used in {name}.i.vtk, i = 0,1, … tns - 1
- t0float
starting time
- t1int
final time
- tnint
number of time steps
- ic_funcallable
initital condition
- exactcallable
exact solution, for transient problems function of space ant time
- comparebool
- polarbool