aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/source/obj_split.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-04-09 02:40:20 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-04-09 02:40:20 +0000
commit28d14094386a69ddf05ca810114538fb2c31f8c7 (patch)
tree7d5bc28bece3f89de8e95be623e355d30ca856ed /externals/grill/vasp/source/obj_split.cpp
parentc91ebcd16ef0672a909b6e6a1ba144272d062768 (diff)
""
svn path=/trunk/; revision=554
Diffstat (limited to 'externals/grill/vasp/source/obj_split.cpp')
-rw-r--r--externals/grill/vasp/source/obj_split.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/externals/grill/vasp/source/obj_split.cpp b/externals/grill/vasp/source/obj_split.cpp
index 4535bfb1..db489885 100644
--- a/externals/grill/vasp/source/obj_split.cpp
+++ b/externals/grill/vasp/source/obj_split.cpp
@@ -32,7 +32,7 @@ class vasp_split:
FLEXT_HEADER(vasp_split,vasp_op)
public:
- vasp_split(I argc,t_atom *argv)
+ vasp_split(I argc,const t_atom *argv)
{
I cnt = -1;
if(argc) {
@@ -98,7 +98,7 @@ class vasp_join:
FLEXT_HEADER_S(vasp_join,vasp_tx,Setup)
public:
- vasp_join(I argc,t_atom *argv):
+ vasp_join(I argc,const t_atom *argv):
cnt(-1),vi(NULL)
{
if(argc) {
@@ -175,7 +175,7 @@ class vasp_spit:
FLEXT_HEADER(vasp_spit,vasp_op)
public:
- vasp_spit(I argc,t_atom *argv)
+ vasp_spit(I argc,const t_atom *argv)
{
I n = 1;
if(argc >= 1) n = GetAInt(argv[0]);
@@ -237,7 +237,7 @@ class vasp_gather:
FLEXT_HEADER_S(vasp_gather,vasp_tx,Setup)
public:
- vasp_gather(I argc,t_atom *argv)
+ vasp_gather(I argc,const t_atom *argv)
{
cnt = 0;
if(argc >= 1) cnt = GetAInt(argv[0]);
@@ -267,9 +267,9 @@ public:
V m_reset() { ref.Clear(); cdst.Clear(); rem = cnt; }
- virtual I m_set(I argc,t_atom *argv) { rem = cnt; return vasp_tx::m_set(argc,argv); }
+ virtual I m_set(I argc,const t_atom *argv) { rem = cnt; return vasp_tx::m_set(argc,argv); }
- V m_add(I argc,t_atom *argv)
+ V m_add(I argc,const t_atom *argv)
{
cdst += Vasp(argc,argv);
if(cnt && !--rem) m_bang();