![]() |
00001 // Copyright (C) 2004 Johan Hoffman and Anders Logg. 00002 // Licensed under the GNU GPL Version 2. 00003 00004 // Map from the reference cell defined by the nodes 00005 // (0) - (1) to a given line in 1D. 00006 00007 #ifndef __P1_INT_MAP_H 00008 #define __P1_INT_MAP_H 00009 00010 #include <dolfin/Map.h> 00011 00012 namespace dolfin { 00013 00014 class P1IntMap : public Map { 00015 public: 00016 00017 P1IntMap(); 00018 00019 Point operator() (const Point& p) const; 00020 Point operator() (const Point& p, unsigned int boundary) const; 00021 00022 void update(const Cell& cell); 00023 00024 const FunctionSpace::ElementFunction ddx(const FunctionSpace::ShapeFunction &v) const; 00025 const FunctionSpace::ElementFunction ddy(const FunctionSpace::ShapeFunction &v) const; 00026 const FunctionSpace::ElementFunction ddz(const FunctionSpace::ShapeFunction &v) const; 00027 const FunctionSpace::ElementFunction ddt(const FunctionSpace::ShapeFunction &v) const; 00028 00029 }; 00030 00031 } 00032 00033 #endif
Documentation automatically generated with Doxygen on 10 Sep 2004.