DOLFIN
DOLFIN C++ interface
marking.h
1 // Copyright (C) 2010 Marie E. Rognes
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 // First added: 2010-10-11
19 // Last changed: 2012-09-03
20 
21 #ifndef __MARKING_H
22 #define __MARKING_H
23 
24 #include <string>
25 
26 namespace dolfin
27 {
28 
29  class Vector;
30  template <typename T> class MeshFunction;
31 
45  void mark(MeshFunction<bool>& markers,
46  const dolfin::MeshFunction<double>& indicators,
47  const std::string strategy,
48  const double fraction);
49 
60  void dorfler_mark(MeshFunction<bool>& markers,
61  const dolfin::MeshFunction<double>& indicators,
62  const double fraction);
63 
64 }
65 
66 #endif
Definition: adapt.h:41
void dorfler_mark(MeshFunction< bool > &markers, const dolfin::MeshFunction< double > &indicators, const double fraction)
Definition: marking.cpp:58
Definition: adapt.h:29
void mark(MeshFunction< bool > &markers, const dolfin::MeshFunction< double > &indicators, const std::string strategy, const double fraction)
Definition: marking.cpp:29