ODE DeepONet System Solve Class
Class which is returned in solveODE_DeepONetSystem_IVP calls
ode_SystemDeepONetsolution
Name of class returned
__init__(eqns, inits, t_bdry, N_pde, N_sensors, sensor_range, epochs, order, net_layers, net_units, flag)
Constructer for class.
| Parameters: |
|
|---|
Constructer calls PINNtrainSelect_DeepONet function to train, where all points are defined and solution prediction is generated within training file.
Class Functions
Fucntions the user should call to access information from solveODE call. Getter functions, Plotter functions, and time stepping function
Getters
get_equations()
Return input equation
get_inits()
Return input initial data
get_t_bdry()
Return input t_bdry
get_N_pde()
Return input N_pde
get_epochs()
Return input epochs
get_order()
Return input orders
get_flag()
Return internal flag
get_N_sensors()
Return input N_sensors
get_sensor_range()
Return input sensor_range
get_net_layers()
Return input net_layers
get_net_units()
Return input net_units
get_loss()
Return model total loss
get_t_points()
Return sampled t points
get_solution_prediction()
Return model solution prediction
get_params()
Return model parameters
get_model()
Return model
get_de_points()
Return sampled de points
get_sensors()
Return sensors
Plotters
plot_epoch_loss(filetitle='ODE-Epoch-Loss')
Calls ode_Plotters.plot_epoch_loss with correct data
| Parameters: |
|
|---|
plot_solution_prediction(filetitle='ODE-solution-pred')
Calls ode_Plotters.plot_solution_prediction with correct data
| Parameters: |
|
|---|
plot_predicted_exact(exact_eqn, filetitle='ODE-SolPred-Exact')
Calls ode_Plotters.plot_predicted_exact with correct data
| Parameters: |
|
|---|
Time Stepper
timeStep(steps, filetitle='ODE-TimeStep-Pred')
Calls ode_TimeSteppers function for corresponding equation type
| Parameters: |
|
|---|