DOLFIN
DOLFIN C++ interface
DiscreteOperators.h
1 // Copyright (C) 2015 Garth N. Wells
2 //
3 // This file is part of DOLFIN.
4 //
5 // DOLFIN is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // DOLFIN is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with DOLFIN. If not, see <http://www.gnu.org/licenses/>.
17 
18 #ifndef __DOLFIN_DISCRETE_OPERATORS_H
19 #define __DOLFIN_DISCRETE_OPERATORS_H
20 
21 #include <memory>
22 
23 namespace dolfin
24 {
25 
26  class FunctionSpace;
27  class GenericMatrix;
28 
30 
36 
40 
42  {
43  public:
44 
56  static std::shared_ptr<GenericMatrix>
57  build_gradient(const FunctionSpace& V0, const FunctionSpace& V1);
58 
59  };
60 }
61 
62 #endif
Definition: adapt.h:29
Definition: FunctionSpace.h:53
static std::shared_ptr< GenericMatrix > build_gradient(const FunctionSpace &V0, const FunctionSpace &V1)
Definition: DiscreteOperators.cpp:36
Discrete gradient operators providing derivatives of functions.
Definition: DiscreteOperators.h:41