rheolef  6.6
adapt.h
Go to the documentation of this file.
1 #ifndef _RHEO_ADAPT_OPTION_H
2 #define _RHEO_ADAPT_OPTION_H
3 
4 #include "rheolef/field.h"
5 namespace rheolef {
6 
97  std::string generator;
98  bool isotropic;
106  size_type n_vertices_max;
107  size_type n_smooth_metric;
111  bool clean;
112  std::string additional;
114  Float anglecorner; // angle below which bamg considers 2 consecutive edge to be part of
116  generator(""),
117  isotropic(true), err(1e-2), errg(1e-1), hcoef(1), hmin(0.0001), hmax(0.3), ratio(0), cutoff(1e-7),
118  n_vertices_max(50000), n_smooth_metric(1),
119  splitpbedge(true), thetaquad(std::numeric_limits<Float>::max()),
120  anisomax(1e6), clean(false), additional("-RelError"), double_precision(false),
121  anglecorner(0)
122  {}
123 };
124 template <class T, class M>
125 geo_basic<T,M>
126 adapt (
127  const field_basic<T,M>& phi,
128  const adapt_option_type& options = adapt_option_type());
129 @endcode
130 
131 }// namespace rheolef
132 #endif // _RHEO_ADAPT_OPTION_H
size_type n_vertices_max
Definition: adapt.h:106
std::string additional
Definition: adapt.h:112
STL namespace.
irheostream, orheostream - large data streams
Definition: compiler.h:7
double Float
Definition: compiler.h:177
geo_basic< T, M > adapt(const field_basic< T, M > &uh, const adapt_option_type &opts)
Definition: adapt.cc:123
std::vector< int >::size_type size_type
Definition: adapt.h:96
size_type n_smooth_metric
Definition: adapt.h:107
std::string generator
Definition: adapt.h:97
boost::proto::result_of::make_expr< boost::proto::tag::function, vec_domain, const vec_detail::max_, const int &, const vec< T, M > & >::type max(const int &x, const vec< T, M > &y)
adapt - mesh adaptation
Definition: adapt.h:95
reference_element_H::size_type size_type