Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
continuity.hpp
Go to the documentation of this file.
1 /* -*- mode: c++; coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; show-trailing-whitespace: t -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2 
3  This file is part of the Feel library
4 
5  Author(s): Christophe Prud'homme <christophe.prudhomme@feelpp.org>
6  Date: 2009-01-20
7 
8  Copyright (C) 2009 Université Joseph Fourier (Grenoble I)
9 
10  This library is free software; you can redistribute it and/or
11  modify it under the terms of the GNU Lesser General Public
12  License as published by the Free Software Foundation; either
13  version 3.0 of the License, or (at your option) any later version.
14 
15  This library is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public
21  License along with this library; if not, write to the Free Software
22  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 */
29 #ifndef __Continuity_H
30 #define __Continuity_H 1
31 
32 #include <boost/fusion/sequence.hpp>
33 #include <boost/fusion/container.hpp>
34 
35 namespace Feel
36 {
37 // import fusion namespace in Feel
38 namespace fusion = boost::fusion;
39 
40 namespace detail
41 {
42 struct continuity_base {};
43 }
51 class Continuous : public detail::continuity_base
52 {
53 public:
54 
55 
59 
60  static const bool is_continuous = true;
61  static const bool is_discontinuous_locally = false;
62  static const bool is_discontinuous_totally = false;
63 
64 
66 
70  typedef fusion::vector<> discontinuity_markers_type;
71 
73 
77 
79  Continuous();
81  Continuous( Continuous const & );
83  ~Continuous();
84 
86 
90 
93  {
94  if ( this != &o )
95  {
96  }
97 
98  return *this;
99  }
101 
105 
106 
108 
112 
113 
115 
119 
120 
122 
123  template<typename MeshType, typename DofType>
124  class apply
125  {
126  public:
127  typedef size_type result_type;
128  typedef MeshType mesh_type;
129  typedef DofType dof_type;
130  typedef typename dof_type::fe_type fe_type;
131 
132  apply( MeshType& M, DofType& D )
133  :
134  M_mesh( M ),
135  M_dof( D )
136  {}
137  template<typename T>
138  result_type operator()( const T& t, const size_type& start ) const
139  {
140  //return build( T::value, start );
141  return start;
142  }
143  private:
144  private:
145  MeshType& M_mesh;
146  DofType M_dof;
147  };
148 
149 protected:
150 
151 private:
152 
153 };
154 
155 } // Feel
156 #endif /* __Continuity_H */
~Continuous()
destructor
Continuous & operator=(Continuous const &o)
copy operator
Definition: continuity.hpp:92
describe continuous functions
Definition: continuity.hpp:51
Continuous()
default constructor
size_t size_type
Indices (starting from 0)
Definition: feelcore/feel.hpp:319

Generated on Sun Dec 22 2013 13:10:55 for Feel++ by doxygen 1.8.5