rheolef  7.0
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 
95 struct adapt_option {
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>
126 adapt (
127  const field_basic<T,M>& phi,
128  const adapt_option& options = adapt_option());
129 @endcode
130 
132 
133 }// namespace rheolef
134 #endif // _RHEO_ADAPT_OPTION_H
size_type n_vertices_max
Definition: adapt.h:106
std::string additional
Definition: adapt.h:112
field - piecewise polynomial finite element field
STL namespace.
irheostream, orheostream - large data streams
Definition: compiler.h:7
double Float
Definition: compiler.h:160
std::string generator
Definition: adapt.h:97
std::vector< int >::size_type size_type
Definition: adapt.h:96
adapt - mesh adaptation
Definition: adapt.h:95
size_type n_smooth_metric
Definition: adapt.h:107
geo_basic< T, M > adapt(const field_basic< T, M > &uh, const adapt_option &opts)
Definition: adapt.cc:123