CrouzeixRaviart.h

Go to the documentation of this file.
00001 // Copyright (C) 2006-2009 Kent-Andre Mardal and Simula Research Laboratory.
00002 // Licensed under the GNU GPL Version 2, or (at your option) any later version.
00003 
00004 #ifndef CROUZEIXRAVIART_IS_INCLUDED
00005 #define CROUZEIXRAVIART_IS_INCLUDED
00006 
00007 #include "FE.h"
00008 
00009 namespace SyFi
00010 {
00011 
00012         class CrouzeixRaviart : public StandardFE
00013         {
00014                 public:
00015                         CrouzeixRaviart();
00016                         CrouzeixRaviart(Polygon& p, unsigned int order = 1);
00017                         virtual ~CrouzeixRaviart() {}
00018 
00019                         void compute_basis_functions();
00020         };
00021 
00022         class VectorCrouzeixRaviart : public StandardFE
00023         {
00024                 protected:
00025                         unsigned int size;
00026                 public:
00027                         VectorCrouzeixRaviart();
00028                         VectorCrouzeixRaviart(Polygon& p, unsigned int order = 1, unsigned int size = -1);
00029                         virtual ~VectorCrouzeixRaviart() {}
00030 
00031                         virtual void set_size(unsigned int size_);
00032                         virtual void compute_basis_functions();
00033         };
00034 
00035 }
00036 #endif

Generated on Mon Aug 31 16:16:45 2009 for SyFi by  doxygen 1.5.9