Skip to content

Feature/vlasov7

GREENDL1 email requested to merge feature/vlasov7 into master

I've created a branch that implements the capabilities of the Vlasov7 case. Most notably these are ...

  • Analytic error check.
  • Arbitrary source function.
  • Apply specified electric field rather than solving Poisson.

Most of the changes should merge in fine. However, there are some changes to the very outer levels of time_advance where the source is added on.

Notes:

  • Choosing the PDE (i.e., Vlasov4 or Vlasov7) is done in include/pde.hpp.
  • I've only done the reference implementation (I'm leaving it to you to roll this into the other time_advance - although this shouldn't be much).
  • The tests only work with Vlasov4.
  • I've also cleaned up some duplication in the setup routines with there now being a forwardMWT and combine_dimensions_2 which are called by the three places where we transform a vector from real space to wavelet space, i.e., initial_condition_vector, source_vector, and exact_solution_vector.
  • Running with Vlasov7 will print an error metric.

Merge request reports