How to Add a variable

From KratosWiki
(Difference between revisions)
Jump to: navigation, search
(New page: 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 ...)
 
 
(5 intermediate revisions by 2 users not shown)
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)  
+
# add it to '''variables.h''' file in KRATOS  "includes, in a similar way to anyone of other variables that are there (kratosR1'''\kratos\includes''');
2. add it to variable.cpp file in KRATOS "source"  
+
# add it to '''variables.cpp''' file in KRATOS "sources" directory (kratosR1'''\kratos\sources''');
3. change the corresponding application interface in "custom python" file
+
# change the corresponding application interface in "custom python" file;
 +
 
 +
 
 +
 
 +
[[Category:How To]]

Latest revision as of 19:59, 1 November 2008

To add a variable like "LAMBDA" do the following

  1. add it to variables.h file in KRATOS "includes, in a similar way to anyone of other variables that are there (kratosR1\kratos\includes);
  2. add it to variables.cpp file in KRATOS "sources" directory (kratosR1\kratos\sources);
  3. change the corresponding application interface in "custom python" file;
Personal tools
Categories