Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
local_integrator.h
1 // ---------------------------------------------------------------------
2 // @f$Id: local_integrator.h 30040 2013-07-18 17:06:48Z maier @f$
3 //
4 // Copyright (C) 2006 - 2013 by the deal.II authors
5 //
6 // This file is part of the deal.II library.
7 //
8 // The deal.II library is free software; you can use it, redistribute
9 // it, and/or modify it under the terms of the GNU Lesser General
10 // Public License as published by the Free Software Foundation; either
11 // version 2.1 of the License, or (at your option) any later version.
12 // The full text of the license can be found in the file LICENSE at
13 // the top level of the deal.II distribution.
14 //
15 // ---------------------------------------------------------------------
16 
17 
18 #ifndef __deal2__mesh_worker_local_integrator_h
19 #define __deal2__mesh_worker_local_integrator_h
20 
21 #include <deal.II/base/config.h>
22 #include <deal.II/base/subscriptor.h>
23 #include <deal.II/base/std_cxx1x/function.h>
24 
25 DEAL_II_NAMESPACE_OPEN
26 
27 namespace MeshWorker
28 {
29  template <int dim, int spacedim, typename number> class DoFInfo;
30  template <int dim, int spacedim> class IntegrationInfo;
31 
51  template <int dim, int spacedim=dim, typename number=double>
53  {
54  public:
59 
64 
69 
74  virtual void cell(DoFInfo<dim, spacedim, number> &dinfo,
75  IntegrationInfo<dim, spacedim> &info) const;
80  virtual void boundary(DoFInfo<dim, spacedim, number> &dinfo,
81  IntegrationInfo<dim, spacedim> &info) const;
86  virtual void face(DoFInfo<dim, spacedim, number> &dinfo1,
89  IntegrationInfo<dim, spacedim> &info2) const;
90 
95  bool use_cell;
96 
102 
107  bool use_face;
108 
117  DeclException0(ExcPureFunction);
118  };
119 }
120 
121 
122 
123 DEAL_II_NAMESPACE_CLOSE
124 
125 #endif
virtual void face(DoFInfo< dim, spacedim, number > &dinfo1, DoFInfo< dim, spacedim, number > &dinfo2, IntegrationInfo< dim, spacedim > &info1, IntegrationInfo< dim, spacedim > &info2) const
DeclException0(ExcPureFunction)
virtual void cell(DoFInfo< dim, spacedim, number > &dinfo, IntegrationInfo< dim, spacedim > &info) const
virtual void boundary(DoFInfo< dim, spacedim, number > &dinfo, IntegrationInfo< dim, spacedim > &info) const