Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

VectorFunction.h

Go to the documentation of this file.
00001 // Copyright (C) 2004 Johan Hoffman, Johan Jansson and Anders Logg.
00002 // Licensed under the GNU GPL Version 2.
00003 
00004 #ifndef __VECTORFUNCTION_H
00005 #define __VECTORFUNCTION_H
00006 
00007 #include <dolfin/Variable.h>
00008 #include <dolfin/NewArray.h>
00009 #include <dolfin/Function.h>
00010 #include <dolfin/Point.h>
00011 
00012 namespace dolfin {
00013 
00014 class VectorFunction : public Variable, public NewArray<Function>
00015 {
00016 public:
00017     
00019   VectorFunction() : NewArray<Function>() {}
00020 
00022   VectorFunction(unsigned int n) : NewArray<Function>(n) {}
00023   
00024   NewArray<real> operator()(const Point& p, real t = 0.0);
00025   
00026 };
00027 
00028 
00029 }
00030 
00031 #endif


Documentation automatically generated with Doxygen on 10 Sep 2004.