How to Add a New Variable
From KratosWiki
(Difference between revisions)
Line 3: | Line 3: | ||
1. '''define''' the variable | 1. '''define''' the variable | ||
it is done in '''.../kratos/includes/variables.h''' | it is done in '''.../kratos/includes/variables.h''' | ||
+ | |||
+ | KRATOS_DEFINE_VARIABLE(double, DIVPROJ) |
Revision as of 13:43, 5 December 2008
If you need to add a new variable to Kratos which doesn`t exist 3 passes are needed
1. define the variable it is done in .../kratos/includes/variables.h
KRATOS_DEFINE_VARIABLE(double, DIVPROJ)