Public Member Functions | |
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 void | get_normals_at_vertices (const typename Triangulation< dim, spacedim >::face_iterator &face, typename Boundary< dim, spacedim >::FaceVertexNormals &face_vertex_normals) const |
This class does not really describe a boundary in the usual sense. By placing new points in the middle of old ones, it rather assumes that the boundary of the domain is given by the polygon/polyhedron defined by the boundary of the initial coarse triangulation.
StraightBoundary< dim, spacedim >::StraightBoundary | ( | ) |
Default constructor. Some compilers require this for some reasons.
virtual Point<spacedim> StraightBoundary< dim, spacedim >::get_new_point_on_line | ( | const typename Triangulation< dim, spacedim >::line_iterator & | line | ) | const [virtual] |
Let the new point be the arithmetic mean of the two vertices of the line.
Refer to the general documentation of this class and the documentation of the base class for more information.
Implements Boundary< dim, spacedim >.
Reimplemented in HyperBallBoundary< dim, spacedim >.
virtual Point<spacedim> StraightBoundary< dim, spacedim >::get_new_point_on_quad | ( | const typename Triangulation< dim, spacedim >::quad_iterator & | quad | ) | const [virtual] |
Let the new point be the arithmetic mean of the four vertices of this quad and the four midpoints of the lines, which are already created at the time of calling this function.
Refer to the general documentation of this class and the documentation of the base class for more information.
Reimplemented from Boundary< dim, spacedim >.
Reimplemented in HyperBallBoundary< dim, spacedim >.
virtual void StraightBoundary< dim, spacedim >::get_intermediate_points_on_line | ( | const typename Triangulation< dim, spacedim >::line_iterator & | line, | |
std::vector< Point< spacedim > > & | points | |||
) | const [virtual] |
Gives n=points.size()
points that splits the StraightBoundary line into partitions of equal lengths.
Refer to the general documentation of this class and the documentation of the base class.
Reimplemented from Boundary< dim, spacedim >.
Reimplemented in HyperBallBoundary< dim, spacedim >.
virtual void StraightBoundary< dim, spacedim >::get_intermediate_points_on_quad | ( | const typename Triangulation< dim, spacedim >::quad_iterator & | quad, | |
std::vector< Point< spacedim > > & | points | |||
) | const [virtual] |
Gives n=points.size()=m*m
points that splits the StraightBoundary quad into subquads of equal size.
Refer to the general documentation of this class and the documentation of the base class.
Reimplemented from Boundary< dim, spacedim >.
Reimplemented in HyperBallBoundary< dim, spacedim >.
virtual void StraightBoundary< dim, spacedim >::get_normals_at_vertices | ( | const typename Triangulation< dim, spacedim >::face_iterator & | face, | |
typename Boundary< dim, spacedim >::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.
Reimplemented in HyperBallBoundary< dim, spacedim >.