Reference documentation for deal.II version 8.4.1
Public Member Functions | List of all members
HalfHyperBallBoundary< dim > Class Template Reference

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

Inheritance diagram for HalfHyperBallBoundary< dim >:
[legend]

Public Member Functions

 HalfHyperBallBoundary (const Point< dim > p=Point< dim >(), const double radius=1.0)
 
virtual Point< dim > get_new_point_on_line (const typename Triangulation< dim >::line_iterator &line) const
 
virtual Point< dim > get_new_point_on_quad (const typename Triangulation< dim >::quad_iterator &quad) const
 
virtual void get_intermediate_points_on_line (const typename Triangulation< dim >::line_iterator &line, std::vector< Point< dim > > &points) const
 
virtual void get_intermediate_points_on_quad (const typename Triangulation< dim >::quad_iterator &quad, std::vector< Point< dim > > &points) const
 
virtual void get_normals_at_vertices (const typename Triangulation< dim >::face_iterator &face, typename Boundary< dim >::FaceVertexNormals &face_vertex_normals) const
 
- Public Member Functions inherited from HyperBallBoundary< dim >
 HyperBallBoundary (const Point< dim > p=Point< dim >(), const double radius=1.0)
 
virtual Point< dim > get_new_point_on_line (const typename Triangulation< dim, dim >::line_iterator &line) const
 
virtual Point< dim > get_new_point_on_quad (const typename Triangulation< dim, dim >::quad_iterator &quad) const
 
virtual void get_intermediate_points_on_line (const typename Triangulation< dim, dim >::line_iterator &line, std::vector< Point< dim > > &points) const
 
virtual void get_intermediate_points_on_quad (const typename Triangulation< dim, dim >::quad_iterator &quad, std::vector< Point< dim > > &points) const
 
virtual Tensor< 1, dim > normal_vector (const typename Triangulation< dim, dim >::face_iterator &face, const Point< dim > &p) const
 
virtual void get_normals_at_vertices (const typename Triangulation< dim, dim >::face_iterator &face, typename Boundary< dim, dim >::FaceVertexNormals &face_vertex_normals) const
 
Point< dim > get_center () const
 
double get_radius () const
 
 DeclException0 (ExcRadiusNotSet)
 
- Public Member Functions inherited from StraightBoundary< dim, dim >
 StraightBoundary ()
 
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 void get_intermediate_points_on_line (const typename Triangulation< dim, spacedim >::line_iterator &line, std::vector< Point< spacedim > > &points) const
 
virtual void get_intermediate_points_on_quad (const typename Triangulation< dim, spacedim >::quad_iterator &quad, std::vector< Point< spacedim > > &points) 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, typename Boundary< dim, spacedim >::FaceVertexNormals &face_vertex_normals) const
 
virtual Point< spacedim > project_to_surface (const typename Triangulation< dim, spacedim >::line_iterator &line, const Point< spacedim > &candidate) const
 
virtual Point< spacedim > project_to_surface (const typename Triangulation< dim, spacedim >::quad_iterator &quad, const Point< spacedim > &candidate) const
 
virtual Point< spacedim > project_to_surface (const typename Triangulation< dim, spacedim >::hex_iterator &hex, const Point< spacedim > &candidate) const
 
- Public Member Functions inherited from Boundary< dim, spacedim >
virtual ~Boundary ()
 
void get_intermediate_points_on_face (const typename Triangulation< dim, spacedim >::face_iterator &face, std::vector< Point< spacedim > > &points) 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 FlatManifold< dim, spacedim >
 FlatManifold (const Point< spacedim > periodicity=Point< spacedim >(), const double tolerance=1e-10)
 
virtual Point< spacedim > get_new_point (const Quadrature< spacedim > &quad) const
 
virtual Point< spacedim > project_to_manifold (const std::vector< Point< spacedim > > &points, const Point< spacedim > &candidate) const
 
- Public Member Functions inherited from Manifold< dim, spacedim >
virtual ~Manifold ()
 
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
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
void subscribe (const char *identifier=0) const
 
void unsubscribe (const char *identifier=0) const
 
unsigned int n_subscriptions () const
 
void list_subscribers () const
 
 DeclException3 (ExcInUse, int, char *, std::string &,<< "Object of class "<< arg2<< " is still used by "<< arg1<< " other objects."<< "\n\n"<< "(Additional information: "<< arg3<< ")\n\n"<< "See the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) for "<< "a lot more information on what this error means and "<< "how to fix programs in which it happens.")
 
 DeclException2 (ExcNoSubscriber, char *, char *,<< "No subscriber with identifier <"<< arg2<< "> subscribes to this object of class "<< arg1<< ". Consequently, it cannot be unsubscribed.")
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Additional Inherited Members

- Public Types inherited from Boundary< dim, spacedim >
typedef Tensor< 1, spacedim > FaceVertexNormals[GeometryInfo< dim >::vertices_per_face]
 
- Protected Member Functions inherited from Boundary< dim, spacedim >
const std::vector< Point< 1 > > & get_line_support_points (const unsigned int n_intermediate_points) const
 
- Protected Attributes inherited from HyperBallBoundary< dim >
const Point< dim > center
 
const double radius
 
bool compute_radius_automatically
 

Detailed Description

template<int dim>
class HalfHyperBallBoundary< dim >

Variant of HyperBallBoundary which denotes a half hyper ball where the first coordinate is restricted to the range \(x>=0\) (or \(x>=center(0)\)). In two dimensions, this equals the right half circle, in three space dimensions it is a half ball. This class might be useful for computations with rotational symmetry, where one dimension is the radius from the axis of rotation.

Author
Wolfgang Bangerth, 1999, 2001

Definition at line 458 of file tria_boundary_lib.h.

Constructor & Destructor Documentation

template<int dim>
HalfHyperBallBoundary< dim >::HalfHyperBallBoundary ( const Point< dim >  p = Point<dim>(),
const double  radius = 1.0 
)

Constructor

Definition at line 780 of file tria_boundary_lib.cc.

Member Function Documentation

template<int dim>
Point< dim > HalfHyperBallBoundary< dim >::get_new_point_on_line ( const typename Triangulation< dim >::line_iterator &  line) const
virtual

Check if on the line x==0, otherwise pass to the base class.

Definition at line 790 of file tria_boundary_lib.cc.

template<int dim>
Point< dim > HalfHyperBallBoundary< dim >::get_new_point_on_quad ( const typename Triangulation< dim >::quad_iterator &  quad) const
virtual

Check if on the line x==0, otherwise pass to the base class.

Definition at line 826 of file tria_boundary_lib.cc.

template<int dim>
void HalfHyperBallBoundary< dim >::get_intermediate_points_on_line ( const typename Triangulation< dim >::line_iterator &  line,
std::vector< Point< dim > > &  points 
) const
virtual

Refer to the general documentation of this class and the documentation of the base class.

Calls get_intermediate_points_between_points.

Definition at line 840 of file tria_boundary_lib.cc.

template<int dim>
void HalfHyperBallBoundary< dim >::get_intermediate_points_on_quad ( const typename Triangulation< dim >::quad_iterator &  quad,
std::vector< Point< dim > > &  points 
) const
virtual

Refer to the general documentation of this class and the documentation of the base class.

Only implemented for dim=3 and for points.size()==1.

Definition at line 857 of file tria_boundary_lib.cc.

template<int dim>
void HalfHyperBallBoundary< dim >::get_normals_at_vertices ( const typename Triangulation< dim >::face_iterator &  face,
typename Boundary< dim >::FaceVertexNormals face_vertex_normals 
) const
virtual

Compute the normals to the boundary at the vertices of the given face.

Refer to the general documentation of this class and the documentation of the base class.

Definition at line 901 of file tria_boundary_lib.cc.


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