Reference documentation for deal.II version Git c025e4d 2017-04-26 14:50:03 -0500
Public Member Functions | List of all members
TorusManifold< dim > Class Template Reference

#include <deal.II/grid/manifold_lib.h>

Inheritance diagram for TorusManifold< dim >:
[legend]

Public Member Functions

 TorusManifold (const double R, const double r)
 
virtual Point< 3 > pull_back (const Point< 3 > &p) const
 
virtual Point< 3 > push_forward (const Point< 3 > &chart_point) const
 
virtual DerivativeForm< 1, 3, 3 > push_forward_gradient (const Point< 3 > &chart_point) const
 
- Public Member Functions inherited from ChartManifold< dim, 3, 3 >
 ChartManifold (const Tensor< 1, chartdim > &periodicity=Tensor< 1, chartdim >())
 
virtual ~ChartManifold ()
 
virtual Point< spacedim > get_new_point (const Quadrature< spacedim > &quad) const 1
 
virtual Point< spacedim > get_new_point (const std::vector< Point< spacedim > > &surrounding_points, const std::vector< double > &weights) const
 
virtual void add_new_points (const std::vector< Point< spacedim > > &surrounding_points, const Table< 2, double > &weights, std::vector< Point< spacedim > > &new_points) const
 
virtual Point< chartdim > pull_back (const Point< spacedim > &space_point) const =0
 
virtual Point< spacedim > push_forward (const Point< chartdim > &chart_point) const =0
 
virtual DerivativeForm< 1, chartdim, spacedim > push_forward_gradient (const Point< chartdim > &chart_point) const
 
virtual Tensor< 1, spacedim > get_tangent_vector (const Point< spacedim > &x1, const Point< spacedim > &x2) const
 
const Tensor< 1, chartdim > & get_periodicity () const
 
- Public Member Functions inherited from Manifold< dim, spacedim >
virtual ~Manifold ()
 
virtual Point< spacedim > get_intermediate_point (const Point< spacedim > &p1, const Point< spacedim > &p2, const double w) const
 
virtual Point< spacedim > project_to_manifold (const std::vector< Point< spacedim > > &surrounding_points, const Point< spacedim > &candidate) const
 
virtual Point< spacedim > get_new_point_on_line (const typename Triangulation< dim, spacedim >::line_iterator &line) const
 
virtual Point< spacedim > get_new_point_on_quad (const typename Triangulation< dim, spacedim >::quad_iterator &quad) const
 
virtual Point< spacedim > get_new_point_on_hex (const typename Triangulation< dim, spacedim >::hex_iterator &hex) const
 
Point< spacedim > get_new_point_on_face (const typename Triangulation< dim, spacedim >::face_iterator &face) const
 
Point< spacedim > get_new_point_on_cell (const typename Triangulation< dim, spacedim >::cell_iterator &cell) const
 
virtual Tensor< 1, spacedim > normal_vector (const typename Triangulation< dim, spacedim >::face_iterator &face, const Point< spacedim > &p) const
 
virtual void get_normals_at_vertices (const typename Triangulation< dim, spacedim >::face_iterator &face, FaceVertexNormals &face_vertex_normals) const
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
 Subscriptor (Subscriptor &&)
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
Subscriptoroperator= (Subscriptor &&)
 
void subscribe (const char *identifier=nullptr) const
 
void unsubscribe (const char *identifier=nullptr) const
 
unsigned int n_subscriptions () const
 
void list_subscribers () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Additional Inherited Members

- Public Types inherited from Manifold< dim, spacedim >
typedef Tensor< 1, spacedim > FaceVertexNormals[GeometryInfo< dim >::vertices_per_face]
 
- Static Public Member Functions inherited from Subscriptor
static::ExceptionBase & ExcInUse (int arg1, char *arg2, std::string &arg3)
 
static::ExceptionBase & ExcNoSubscriber (char *arg1, char *arg2)
 

Detailed Description

template<int dim>
class TorusManifold< dim >

Manifold description for the surface of a Torus in three dimensions. The Torus is assumed to be in the x-z plane. The reference coordinate system is given by the angle \(phi\) around the y axis, the angle \(theta\) around the centerline of the torus, and the distance to the centerline \(w\) (between 0 and 1).

This class was developed to be used in conjunction with GridGenerator::torus.

Author
Timo Heister, 2016

Definition at line 487 of file manifold_lib.h.

Constructor & Destructor Documentation

template<int dim>
TorusManifold< dim >::TorusManifold ( const double  R,
const double  r 
)

Constructor. Specify the radius of the centerline R and the radius of the torus itself (r). The variables have the same meaning as the parameters in GridGenerator::torus().

Definition at line 518 of file manifold_lib.cc.

Member Function Documentation

template<int dim>
Point< 3 > TorusManifold< dim >::pull_back ( const Point< 3 > &  p) const
virtual

Pull back operation.

Definition at line 491 of file manifold_lib.cc.

template<int dim>
Point< 3 > TorusManifold< dim >::push_forward ( const Point< 3 > &  chart_point) const
virtual

Push forward operation.

Definition at line 504 of file manifold_lib.cc.

template<int dim>
DerivativeForm< 1, 3, 3 > TorusManifold< dim >::push_forward_gradient ( const Point< 3 > &  chart_point) const
virtual

Gradient.

Definition at line 530 of file manifold_lib.cc.


The documentation for this class was generated from the following files: