15#ifndef dealii_manifold_lib_h
16#define dealii_manifold_lib_h
31 namespace MappingQImplementation
34 class InverseQuadraticApproximation;
82template <
int dim,
int spacedim = dim>
97 virtual std::unique_ptr<Manifold<dim, spacedim>>
98 clone()
const override;
149 "Access the center with get_center() instead.")
164 static
Tensor<1, spacedim>
261template <
int dim,
int spacedim = dim>
276 virtual std::unique_ptr<Manifold<dim, spacedim>>
277 clone()
const override;
289 const double w)
const override;
355 "Access the center with get_center() instead.")
373 guess_new_point(const
ArrayView<const
Tensor<1, spacedim>> &directions,
374 const
ArrayView<const
double> &distances,
375 const
ArrayView<const
double> &weights) const;
395 do_get_new_points(const
ArrayView<const
Point<spacedim>> &surrounding_points,
418template <
int dim,
int spacedim = dim>
429 const double tolerance = 1e-10);
440 const double tolerance = 1e-10);
445 virtual std::unique_ptr<Manifold<dim, spacedim>>
446 clone()
const override;
487 get_direction()
const;
496 get_point_on_axis()
const;
502 get_tolerance()
const;
562template <
int dim,
int spacedim = dim>
579 const double eccentricity);
581 virtual std::unique_ptr<Manifold<dim, spacedim>>
582 clone()
const override;
600 push_forward_gradient(
const Point<spacedim> &chart_point)
const override;
606 get_major_axis_direction()
const;
618 get_eccentricity()
const;
667template <
int dim,
int spacedim = dim,
int chartdim = dim>
688 const double tolerance = 1e-10);
705 const double tolerance = 1e-10);
722 const std::string push_forward_expression,
723 const std::string pull_back_expression,
727 const std::string chart_vars =
729 const std::string space_vars =
731 const double tolerance = 1e-10,
732 const double h = 1e-8);
742 virtual std::unique_ptr<Manifold<dim, spacedim>>
743 clone()
const override;
774 push_forward_gradient(
const Point<chartdim> &chart_point)
const override;
864 static const int chartdim = 3;
865 static const int spacedim = 3;
872 TorusManifold(
const double centerline_radius,
const double inner_radius);
877 virtual std::unique_ptr<Manifold<dim, 3>>
878 clone()
const override;
884 pull_back(
const Point<3> &p)
const override;
890 push_forward(
const Point<3> &chart_point)
const override;
896 push_forward_gradient(
const Point<3> &chart_point)
const override;
902 get_centerline_radius()
const;
908 get_inner_radius()
const;
1055template <
int dim,
int spacedim = dim>
1072 virtual std::unique_ptr<Manifold<dim, spacedim>>
1073 clone()
const override;
1145 std::array<unsigned int, 20>
1146 get_possible_cells_around_points(
1157 compute_chart_points(
1209 push_forward_gradient(
1242 std::vector<internal::MappingQImplementation::
1243 InverseQuadraticApproximation<dim, spacedim>>
1255template <
int dim,
int spacedim>
1264template <
int dim,
int spacedim>
1273template <
int dim,
int spacedim>
1282template <
int dim,
int spacedim>
1286 return point_on_axis;
1291template <
int dim,
int spacedim>
1300template <
int dim,
int spacedim>
1309template <
int dim,
int spacedim>
1318template <
int dim,
int spacedim>
1322 return eccentricity;
1331 return centerline_radius;
1340 return inner_radius;
virtual void get_new_points(const ArrayView< const Point< spacedim > > &surrounding_points, const Table< 2, double > &weights, ArrayView< Point< spacedim > > new_points) const override
virtual Tensor< 1, spacedim > get_tangent_vector(const Point< spacedim > &x1, const Point< spacedim > &x2) const override
virtual Point< spacedim > get_intermediate_point(const Point< spacedim > &p1, const Point< spacedim > &p2, const double w) const override
virtual Point< spacedim > get_new_point(const ArrayView< const Point< spacedim > > &surrounding_points, const ArrayView< const double > &weights) const override
const Tensor< 1, spacedim > dxn
const Tensor< 1, spacedim > normal_direction
const Point< spacedim > point_on_axis
const Tensor< 1, spacedim > direction
double get_tolerance() const
const Point< spacedim > & get_point_on_axis() const
const Tensor< 1, spacedim > & get_direction() const
const Tensor< 1, spacedim > & get_major_axis_direction() const
const Point< spacedim > & get_center() const
double get_eccentricity() const
const Point< spacedim > center
const double eccentricity
const Tensor< 1, spacedim > direction
const FunctionParser< spacedim >::ConstMap const_map
const std::string chart_vars
const std::string pull_back_expression
const std::string space_vars
const double finite_difference_step
const std::string push_forward_expression
ObserverPointer< const Function< chartdim >, FunctionManifold< dim, spacedim, chartdim > > push_forward_function
ObserverPointer< const Function< spacedim >, FunctionManifold< dim, spacedim, chartdim > > pull_back_function
std::map< std::string, double > ConstMap
virtual void get_normals_at_vertices(const typename Triangulation< dim, spacedim >::face_iterator &face, FaceVertexNormals &face_vertex_normals) const
std::array< Tensor< 1, spacedim >, GeometryInfo< dim >::vertices_per_face > FaceVertexNormals
static Tensor< 1, spacedim > get_periodicity()
virtual std::unique_ptr< Manifold< dim, spacedim > > clone() const override
virtual DerivativeForm< 1, spacedim, spacedim > push_forward_gradient(const Point< spacedim > &chart_point) const override
const Point< spacedim > center
const Point< spacedim > p_center
virtual Tensor< 1, spacedim > normal_vector(const typename Triangulation< dim, spacedim >::face_iterator &face, const Point< spacedim > &p) const override
virtual Point< spacedim > push_forward(const Point< spacedim > &chart_point) const override
virtual Point< spacedim > pull_back(const Point< spacedim > &space_point) const override
const Point< spacedim > & get_center() const
const Point< spacedim > & get_center() const
double get_centerline_radius() const
double get_inner_radius() const
const Triangulation< dim, spacedim > * triangulation
boost::signals2::connection clear_signal
std::vector< internal::MappingQImplementation::InverseQuadraticApproximation< dim, spacedim > > quadratic_approximation
FlatManifold< dim > chart_manifold
std::vector< bool > coarse_cell_is_flat
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_DEPRECATED_WITH_COMMENT(comment)
#define DEAL_II_NAMESPACE_CLOSE
const ::parallel::distributed::Triangulation< dim, spacedim > * triangulation