aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/source/ops_resmp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/vasp/source/ops_resmp.cpp')
-rw-r--r--externals/grill/vasp/source/ops_resmp.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/externals/grill/vasp/source/ops_resmp.cpp b/externals/grill/vasp/source/ops_resmp.cpp
index fbeabc07..cb51dbac 100644
--- a/externals/grill/vasp/source/ops_resmp.cpp
+++ b/externals/grill/vasp/source/ops_resmp.cpp
@@ -12,6 +12,7 @@ WARRANTIES, see the file, "license.txt," in this distribution.
\brief Routines for resampling
*/
+#include "main.h"
#include "ops_resmp.h"
@@ -207,8 +208,8 @@ public:
vasp_anyop(argc,argv,VASP_ARG_R(1),true),
fill(xtf_zero),inter(xti_4p)
{
- FLEXT_ADDMETHOD_E(0,"fill",m_fill);
- FLEXT_ADDMETHOD_E(0,"inter",m_inter);
+ FLEXT_ADDATTR_VAR1_E("fill",fill);
+ FLEXT_ADDATTR_VAR1_E("inter",inter);
}
enum xt_fill {
@@ -221,9 +222,6 @@ public:
xti_inpl = 0,xti_none,xti_lin,xti_4p
};
- V m_fill(xt_fill f) { fill = f; }
- V m_inter(xt_inter m) { inter = m; }
-
virtual Vasp *do_shift(OpParam &p) { return VaspOp::m_tilt(p,ref,arg,&dst); }
virtual Vasp *tx_work(const Argument &arg)
@@ -243,8 +241,8 @@ protected:
xt_inter inter;
private:
- FLEXT_CALLBACK_1(m_fill,xt_fill)
- FLEXT_CALLBACK_1(m_inter,xt_inter)
+ FLEXT_ATTRVAR_E(fill,xt_fill)
+ FLEXT_ATTRVAR_E(inter,xt_inter)
};
FLEXT_LIB_V("vasp, vasp.tilt",vasp_tilt)