How to Add a variable
From KratosWiki
(Difference between revisions)
Line 1: | Line 1: | ||
To add a variable like "LAMBDA" do the following | To add a variable like "LAMBDA" do the following | ||
− | *1. add it to variable.h of KRATOS "container"( similar to one of other variables that is there) | + | *1. add it to ''variable.h'' of KRATOS "container"( similar to one of other variables that is there) |
− | *2. add it to variable.cpp file in KRATOS "source" | + | *2. add it to ''variable.cpp'' file in KRATOS "source" |
*3. change the corresponding application interface in "custom python" file | *3. change the corresponding application interface in "custom python" file |
Revision as of 11:52, 25 February 2008
To add a variable like "LAMBDA" do the following
- 1. add it to variable.h of KRATOS "container"( similar to one of other variables that is there)
- 2. add it to variable.cpp file in KRATOS "source"
- 3. change the corresponding application interface in "custom python" file