aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/source/obj_chns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/vasp/source/obj_chns.cpp')
-rwxr-xr-xexternals/grill/vasp/source/obj_chns.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/externals/grill/vasp/source/obj_chns.cpp b/externals/grill/vasp/source/obj_chns.cpp
index 1cd15c30..facfe5fe 100755
--- a/externals/grill/vasp/source/obj_chns.cpp
+++ b/externals/grill/vasp/source/obj_chns.cpp
@@ -8,6 +8,7 @@ WARRANTIES, see the file, "license.txt," in this distribution.
*/
+#include "main.h"
#include "classes.h"
#include "util.h"
@@ -38,9 +39,9 @@ public:
AddInAnything(2);
AddOutAnything();
- SetupInOut();
FLEXT_ADDMETHOD(1,m_ix);
+ FLEXT_ADDATTR_VAR("index",ix,m_ix);
}
V m_ix(I i) { ix = i; }
@@ -59,6 +60,8 @@ protected:
private:
FLEXT_CALLBACK_I(m_ix);
+ FLEXT_CALLSET_I(m_ix);
+ FLEXT_ATTRGET_I(ix);
};
FLEXT_LIB_V("vasp, vasp.channel vasp.c",vasp_channel)