aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/source/ops_assign.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-03-17 04:36:54 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-03-17 04:36:54 +0000
commit3eb7ec9a67e867275b862f9947deafe387012819 (patch)
tree6fd9d9f37721cdd28197ee5c54a3546060bd58af /externals/grill/vasp/source/ops_assign.h
parentbc6f43fbe1b22b1c2c63a32372126e0eaaaa08b0 (diff)
""
svn path=/trunk/; revision=476
Diffstat (limited to 'externals/grill/vasp/source/ops_assign.h')
-rw-r--r--externals/grill/vasp/source/ops_assign.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/externals/grill/vasp/source/ops_assign.h b/externals/grill/vasp/source/ops_assign.h
index a495eb3b..78a3392e 100644
--- a/externals/grill/vasp/source/ops_assign.h
+++ b/externals/grill/vasp/source/ops_assign.h
@@ -15,13 +15,12 @@ WARRANTIES, see the file, "license.txt," in this distribution.
// Assignment functions
-namespace VecOp {
- inline BL d_copy(OpParam &p) { return D__run<S,f_copy<S> >(p); }
- inline BL d_ccopy(OpParam &p) { return D__cun<S,f_copy<S> >(p); }
+DEFOP(S,d_copy,copy,run)
+DEFOP(S,d_ccopy,copy,cun)
+
+DEFOP(S,d_set,set,rbin)
+DEFOP(S,d_cset,set,cbin)
- inline BL d_set(OpParam &p) { return D__rbin<S,f_set<S> >(p); }
- inline BL d_cset(OpParam &p) { return D__cbin<S,f_set<S> >(p); }
-}
namespace VaspOp {
inline Vasp *m_set(OpParam &p,CVasp &src,const Argument &arg,CVasp *dst = NULL) { return m_rbin(p,src,arg,dst,VecOp::d_set); } // copy to (one vec or real)