[cig-commits] r12854 - cs/cigma/trunk/src
luis at geodynamics.org
luis at geodynamics.org
Wed Sep 10 12:51:02 PDT 2008
Author: luis
Date: 2008-09-10 12:51:02 -0700 (Wed, 10 Sep 2008)
New Revision: 12854
Added:
cs/cigma/trunk/src/Field.cpp
cs/cigma/trunk/src/Field.h
Log:
Base field object
Added: cs/cigma/trunk/src/Field.cpp
===================================================================
--- cs/cigma/trunk/src/Field.cpp (rev 0)
+++ cs/cigma/trunk/src/Field.cpp 2008-09-10 19:51:02 UTC (rev 12854)
@@ -0,0 +1,4 @@
+#include "Field.h"
+
+cigma::Field::~Field() {};
+
Added: cs/cigma/trunk/src/Field.h
===================================================================
--- cs/cigma/trunk/src/Field.h (rev 0)
+++ cs/cigma/trunk/src/Field.h 2008-09-10 19:51:02 UTC (rev 12854)
@@ -0,0 +1,17 @@
+#ifndef __FIELD_H__
+#define __FIELD_H__
+
+namespace cigma
+{
+ class Field;
+}
+
+
+class cigma::Field
+{
+public:
+ virtual void eval(double *point, double *value) = 0;
+ virtual ~Field();
+};
+
+#endif
More information about the cig-commits
mailing list