From 3eb7ec9a67e867275b862f9947deafe387012819 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 17 Mar 2003 04:36:54 +0000 Subject: "" svn path=/trunk/; revision=476 --- externals/grill/vasp/source/ops_assign.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'externals/grill/vasp/source/ops_assign.h') 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 >(p); } - inline BL d_ccopy(OpParam &p) { return D__cun >(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 >(p); } - inline BL d_cset(OpParam &p) { return D__cbin >(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) -- cgit v1.2.1