Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

DefiniteIntegral.h

Go to the documentation of this file.
00001 #ifndef DEFINITEINTEGRAL_H
00002 #define DEFINITEINTEGRAL_H
00003 
00004 #include "SundanceDefs.h"
00005 
00006 #include "GaussLegendre.h"
00007 #include "QuadratureFamily.h"
00008 #include "Integral.h"
00009 
00010 namespace Sundance
00011 {
00012 
00013   using namespace TSF;
00014   using std::string;
00015 
00016   using std::ostream;
00017 
00018   class Mesh;
00019   class CellSet;
00020   class Expr;
00021 
00022   /**
00023    * \relates Expr
00024    * Uses quadrature to integrate an expression over a subdomain of a mesh.
00025    */
00026   double definiteIntegral(const Mesh& mesh, const CellSet& subdomain,
00027                           const Expr& integrand,
00028                           const QuadratureFamily& quad = new GaussLegendre(4));
00029 
00030   /**
00031    * \relates Expr
00032    * Uses quadrature to integrate an expression over all maximal cells in a mesh.
00033    */
00034   double definiteIntegral(const Mesh& mesh,
00035                           const Expr& integrand,
00036                           const QuadratureFamily& quad = new GaussLegendre(4));
00037 
00038 
00039 }
00040 #endif

Contact:
Kevin Long (krlong@ca.sandia.gov)


Documentation generated by