lasdi.physics.burgers1d
Classes
Functions
|
Compute 1D Burgers equation residual for generating the data |
|
Compute 1D Burgers equation jacobian for generating the data |
|
Solves 1D Burgers equation for generating the data |
|
Module Contents
- class lasdi.physics.burgers1d.Burgers1D(cfg, param_name=None)
Bases:
lasdi.physics.Physics
- a_idx = None
- w_idx = None
- qdim = 1
- dim = 1
- offline
- nt
- grid_size
- qgrid_size
numpy nd-array, assuming the shape of: - 1d: (space_dim[0],) - 2d: (2, space_dim[0], space_dim[1]) - 3d: (3, space_dim[0], space_dim[1], space_dim[2]) - higher dimension…
- xmin
- xmax
- dx
- tmax
- dt
- x_grid
- t_grid
- maxk
- convergence_threshold
- initial_condition(param)
- solve(param)
- export()
- residual(Xhist)
- lasdi.physics.burgers1d.residual_burgers(un, uw, c, idxn1)
Compute 1D Burgers equation residual for generating the data from https://github.com/LLNL/gLaSDI and https://github.com/LLNL/LaSDI
- lasdi.physics.burgers1d.jacobian(u, c, idxn1, nx)
Compute 1D Burgers equation jacobian for generating the data from https://github.com/LLNL/gLaSDI and https://github.com/LLNL/LaSDI
- lasdi.physics.burgers1d.solver(u0, maxk, convergence_threshold, nt, nx, Dt, Dx)
Solves 1D Burgers equation for generating the data from https://github.com/LLNL/gLaSDI and https://github.com/LLNL/LaSDI
- lasdi.physics.burgers1d.main()