chrisknewman / tusas

Other
16 stars 6 forks source link

Use a postprocess variable in residual equation #128

Open chrisknewman opened 2 years ago

chrisknewman commented 2 years ago

The use case is noise in phasefield.

  1. create a pp var and update it with a random variable each timestep
  2. have a bool on the post process class that says we will us this pp in a residual fill
  3. if the bool is true, we create a basis for the ppvar that puts the ppvar at gauss pts
  4. this additional basis is sent to residualfunc as an argument