diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-05 05:36:32 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-05 05:36:32 +0000 |
commit | 60ee6bb60b11bbfbccf56f335c9c6213e6daa79d (patch) | |
tree | 99b0c72c60aeba5d1a0489aae9edd16f371d965c /externals/grill/vasp/source/ops_resmp.cpp | |
parent | bbd9d289d152f6ef085dec680f0b1611c29f0e32 (diff) |
""
svn path=/trunk/; revision=278
Diffstat (limited to 'externals/grill/vasp/source/ops_resmp.cpp')
-rw-r--r-- | externals/grill/vasp/source/ops_resmp.cpp | 12 |
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) |