pde_Initials

Main inital functions for setting up initials conditions required in solvePDE calls

setup_initials_2var(t_bdry, x_bdry, t_order, initial_t, N_iv=100)

Main function for setting up initial conditions for equations in t and x

Parameters:
  • t_bdry (list) –

    list of two elements, the interval of t to be solved on.

  • t_order (int) –

    Order of t in equation (highest derivative of t used). Can be 1-3

  • initial_t (list / Lambda) –

    List of Inital functions for t=t0, as a python lambda funcitons, with t0 being inital t in t_bdry. One for each order. Must be of only 1 variable. See examples for how to make.

  • N_iv (int, default: 100 ) –

    Number of randomly sampled collocation points along inital t which PINN uses in training.

Returns:
  • inits( list ) –

    List of setup sampled initial condition points

  • t_order( int ) –

    Order of t in equation

  • initial_t( list / Lambda ) –

    List of Inital functions for t=t0, as a python lambda funcitons, with t0 being inital t in t_bdry. One for each order.

  • N_iv( int ) –

    Number of randomly sampled collocation points along inital t which PINN uses in training.