ianhinder / Kranc

A Mathematica package for generating code for solving time dependent partial differential equations
http://kranccode.org
GNU General Public License v2.0
28 stars 10 forks source link

Kranc and MoLRegisterConstrained* #84

Open eloisabentivegna opened 11 years ago

eloisabentivegna commented 11 years ago

Occasionally, some variables that are not evolved need to have three timelevels for prolongation purposes. They should then be registered as constrained variables with MoL. Should Kranc take care of this?

Notice that the variables do not need to be the thorn's own. As an example, a scalar-field thorn which adds to Tmunu needs to register the TmunuBase::stressenergy* variables as constrained with MoL.