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

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

Inheritance diagram for HyperShellBoundary< dim >:
[legend]

Public Member Functions

 HyperShellBoundary (const Point< dim > &center=Point< dim >())
 
virtual std::unique_ptr< Manifold< dim, dim > > clone () const override
 
- 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 override
 
virtual Point< dim > get_new_point_on_quad (const typename Triangulation< dim, dim >::quad_iterator &quad) const override
 
virtual void get_intermediate_points_on_line (const typename Triangulation< dim, dim >::line_iterator &line, std::vector< Point< dim > > &points) const override
 
virtual void get_intermediate_points_on_quad (const typename Triangulation< dim, dim >::quad_iterator &quad, std::vector< Point< dim > > &points) const override
 
virtual Tensor< 1, dim > normal_vector (const typename Triangulation< dim, dim >::face_iterator &face, const Point< dim > &p) const override
 
virtual void get_normals_at_vertices (const typename Triangulation< dim, dim >::face_iterator &face, typename Boundary< dim, dim >::FaceVertexNormals &face_vertex_normals) const override
 
Point< dim > get_center () const
 
double get_radius () const
 
- 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 override
 
virtual Point< spacedim > get_new_point_on_quad (const typename Triangulation< dim, spacedim >::quad_iterator &quad) const override
 
virtual void get_intermediate_points_on_line (const typename Triangulation< dim, spacedim >::line_iterator &line, std::vector< Point< spacedim > > &points) const override
 
virtual void get_intermediate_points_on_quad (const typename Triangulation< dim, spacedim >::quad_iterator &quad, std::vector< Point< spacedim > > &points) const override
 
virtual Tensor< 1, spacedim > normal_vector (const typename Triangulation< dim, spacedim >::face_iterator &face, const Point< spacedim > &p) const override
 
virtual void get_normals_at_vertices (const typename Triangulation< dim, spacedim >::face_iterator &face, typename Boundary< dim, spacedim >::FaceVertexNormals &face_vertex_normals) const override
 
virtual Point< spacedim > project_to_surface (const typename Triangulation< dim, spacedim >::line_iterator &line, const Point< spacedim > &candidate) const override
 
virtual Point< spacedim > project_to_surface (const typename Triangulation< dim, spacedim >::quad_iterator &quad, const Point< spacedim > &candidate) const override
 
virtual Point< spacedim > project_to_surface (const typename Triangulation< dim, spacedim >::hex_iterator &hex, const Point< spacedim > &candidate) const override
 
- Public Member Functions inherited from Boundary< dim, spacedim >
virtual ~Boundary () override=default
 
void get_intermediate_points_on_face (const typename Triangulation< dim, spacedim >::face_iterator &face, std::vector< Point< spacedim > > &points) const
 
- Public Member Functions inherited from FlatManifold< dim, spacedim >
 FlatManifold (const Tensor< 1, spacedim > &periodicity=Tensor< 1, spacedim >(), const double tolerance=1e-10)
 
virtual Point< spacedim > get_new_point (const ArrayView< const Point< spacedim >> &surrounding_points, const ArrayView< const double > &weights) const override
 
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 Point< spacedim > project_to_manifold (const ArrayView< const Point< spacedim >> &points, const Point< spacedim > &candidate) const override
 
virtual Tensor< 1, spacedim > get_tangent_vector (const Point< spacedim > &x1, const Point< spacedim > &x2) const override
 
virtual void get_normals_at_vertices (const typename Triangulation< dim, spacedim >::face_iterator &face, typename Manifold< dim, spacedim >::FaceVertexNormals &face_vertex_normals) const override
 
const Tensor< 1, spacedim > & get_periodicity () const
 
- Public Member Functions inherited from Manifold< dim, spacedim >
virtual ~Manifold ()=default
 
virtual Point< spacedim > get_intermediate_point (const Point< spacedim > &p1, const Point< spacedim > &p2, const double w) 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 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 &&) noexcept
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
Subscriptoroperator= (Subscriptor &&) noexcept
 
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 HyperBallBoundary< dim >
static ::ExceptionBaseExcRadiusNotSet ()
 
- Static Public Member Functions inherited from Subscriptor
static ::ExceptionBaseExcInUse (int arg1, std::string arg2, std::string arg3)
 
static ::ExceptionBaseExcNoSubscriber (std::string arg1, std::string arg2)
 
- 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 HyperShellBoundary< dim >

Class describing the boundaries of a hyper shell. Only the center of the two spheres needs to be given, the radii of inner and outer sphere are computed automatically upon calling one of the virtual functions.

Deprecated:
The boundary classes have been deprecated in favor of the more general Manifold classes. For this class SphericalManifold is an appropriate replacement which is expected to produce better results under mesh refinement.
Author
Wolfgang Bangerth, 1999

Definition at line 575 of file tria_boundary_lib.h.

Constructor & Destructor Documentation

◆ HyperShellBoundary()

template<int dim>
HyperShellBoundary< dim >::HyperShellBoundary ( const Point< dim > &  center = Point<dim>())

Constructor. The center of the spheres defaults to the origin.

Call the constructor of its base HyperBallBoundary class with a dummy radius as argument. This radius will be ignored

Definition at line 992 of file tria_boundary_lib.cc.

Member Function Documentation

◆ clone()

template<int dim>
std::unique_ptr< Manifold< dim, dim > > HyperShellBoundary< dim >::clone ( ) const
overridevirtual

Clone this Boundary object.

Reimplemented from HyperBallBoundary< dim >.

Reimplemented in HalfHyperShellBoundary< dim >.

Definition at line 1003 of file tria_boundary_lib.cc.


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