ryujin 2.1.1 revision 0348cbb53a3e4b1da2a4c037e81f88f2d21ce219
Public Member Functions | List of all members
ryujin::Geometries::RectangularDomain< dim > Class Template Reference

#include <source/geometry_rectangular_domain.h>

Inheritance diagram for ryujin::Geometries::RectangularDomain< dim >:
Inheritance graph
[legend]
Collaboration diagram for ryujin::Geometries::RectangularDomain< dim >:
Collaboration graph
[legend]

Public Member Functions

 RectangularDomain (const std::string subsection)
 
void create_triangulation (typename Geometry< dim >::Triangulation &triangulation) final
 
- Public Member Functions inherited from ryujin::Geometry< dim >
 Geometry (const std::string &name, const std::string &subsection)
 
virtual void create_triangulation (Triangulation &triangulation)=0
 
auto & name () const
 

Additional Inherited Members

- Public Types inherited from ryujin::Geometry< dim >
using Triangulation = typename Discretization< dim >::Triangulation
 

Detailed Description

template<int dim>
class ryujin::Geometries::RectangularDomain< dim >

A simple rectangular domain that is used for most validation and benchmark configurations.

The rectangular domain is defined by two points, the bottom left corner \((x_1,y_1,z_1)\) and the top right corner \((x_2,y_2,z_2)\).

A mesh grading can be enforced by defining an optional pull back and push forward operation.

By convenction the rectangular domain is orient with the x-axis to from "left to right", the y-axis from "bottom to top" and the z-axis from "the back towards the front".

The class allows to prescribe any of the supported boundary condition on any of the 2, 4, or 6 faces.

Definition at line 35 of file geometry_rectangular_domain.h.

Constructor & Destructor Documentation

◆ RectangularDomain()

template<int dim>
ryujin::Geometries::RectangularDomain< dim >::RectangularDomain ( const std::string  subsection)
inline

Definition at line 38 of file geometry_rectangular_domain.h.

References ryujin::dirichlet.

Member Function Documentation

◆ create_triangulation()

template<int dim>
void ryujin::Geometries::RectangularDomain< dim >::create_triangulation ( typename Geometry< dim >::Triangulation triangulation)
inlinefinal

Definition at line 118 of file geometry_rectangular_domain.h.

References ryujin::periodic.


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