DOLFIN
DOLFIN C++ interface
HarmonicSmoothing.h
1 // Copyright (C) 2008 Anders Logg
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: 2008-08-11
19 // Last changed: 2013-03-06
20 
21 #ifndef __HARMONIC_SMOOTHING_H
22 #define __HARMONIC_SMOOTHING_H
23 
24 #include <memory>
25 #include "MeshDisplacement.h"
26 
27 namespace dolfin
28 {
29 
30  class BoundaryMesh;
31  class Mesh;
32 
38 
40  {
41  public:
42 
53  static std::shared_ptr<MeshDisplacement>
54  move(std::shared_ptr<Mesh> mesh, const BoundaryMesh& new_boundary);
55 
56  };
57 
58 }
59 
60 #endif
Definition: adapt.h:29
Definition: HarmonicSmoothing.h:39
static std::shared_ptr< MeshDisplacement > move(std::shared_ptr< Mesh > mesh, const BoundaryMesh &new_boundary)
Definition: HarmonicSmoothing.cpp:43
Definition: BoundaryMesh.h:39