[cig-commits] r11771 - cs/benchmark/cigma/trunk/src

luis at geodynamics.org luis at geodynamics.org
Tue Apr 8 17:35:20 PDT 2008


Author: luis
Date: 2008-04-08 17:35:19 -0700 (Tue, 08 Apr 2008)
New Revision: 11771

Modified:
   cs/benchmark/cigma/trunk/src/ZeroField.h
Log:
Make zero a user field


Modified: cs/benchmark/cigma/trunk/src/ZeroField.h
===================================================================
--- cs/benchmark/cigma/trunk/src/ZeroField.h	2008-04-09 00:35:18 UTC (rev 11770)
+++ cs/benchmark/cigma/trunk/src/ZeroField.h	2008-04-09 00:35:19 UTC (rev 11771)
@@ -1,13 +1,13 @@
 #ifndef __ZERO_FIELD_H__
 #define __ZERO_FIELD_H__
 
-#include "Field.h"
+#include "UserField.h"
 
 namespace cigma {
     class ZeroField;
 }
 
-class cigma::ZeroField : public cigma::Field
+class cigma::ZeroField : public cigma::UserField
 {
 public:
     ZeroField();
@@ -17,7 +17,6 @@
 public:
     int n_dim() { return dim; }
     int n_rank() { return rank; }
-    FieldType getType() { return USER_FIELD; }
 
 public:
     bool eval(double *point, double *value);



More information about the cig-commits mailing list