How to Add a Primary Variable ============================= This page shows how to introduce a new primary variable into a VPLanet module. For this tutorial, we add a variable called dPrimaryVariable to a fictitious module called Physics that is in files called physics.[ch]. For your new primary variable, replace "PrimaryVariable with the name of your new primary variable and ""Physics" with the name of the module you are upgrading. Is the parameter a primary variable? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A "primary variable" is a parameter whose evolution is explicitly tracked by VPLanet, e.g. its evolution is controlled by an ordinary differential equation. In other words, adding a primary variable is equivalent to adding a new governing equation that fundamentally affects an object's evolution. If that is **not** the case, i.e. it depends only on other primary variables, then you probably only need to add it to a struct (like BODY), some functions to calculate its values, `options