ryujin 2.1.1 revision f751393c604e228afd3e8516e9e236ec609caae0
Public Types | Public Member Functions | List of all members
ryujin::Geometry< dim > Class Template Referenceabstract

#include <source/geometry.h>

Inheritance diagram for ryujin::Geometry< dim >:
Inheritance graph
Collaboration diagram for ryujin::Geometry< dim >:
Collaboration graph

Public Types

using Triangulation = typename Discretization< dim >::Triangulation

Public Member Functions

 Geometry (const std::string &name, const std::string &subsection)
virtual void create_triangulation (Triangulation &triangulation)=0
auto & name () const

Detailed Description

template<int dim>
class ryujin::Geometry< dim >

A small abstract base class to group configuration options for a number of geometries together.

Definition at line 31 of file geometry.h.

Member Typedef Documentation

◆ Triangulation

template<int dim>
using ryujin::Geometry< dim >::Triangulation = typename Discretization<dim>::Triangulation

A typdef for the deal.II triangulation that is used by this class. Inherited from Discretization.

Definition at line 38 of file geometry.h.

Constructor & Destructor Documentation

◆ Geometry()

template<int dim>
ryujin::Geometry< dim >::Geometry ( const std::string &  name,
const std::string &  subsection 

Constructor taking geometry name name and a subsection subsection as an argument. The dealii::ParameterAcceptor is initialized with the subsubsection subsection + "/" + name.

Definition at line 45 of file geometry.h.

Member Function Documentation

◆ create_triangulation()

template<int dim>
virtual void ryujin::Geometry< dim >::create_triangulation ( Triangulation triangulation)
pure virtual

Create the triangulation according to the appropriate geometry description.

◆ name()

template<int dim>
auto & ryujin::Geometry< dim >::name ( ) const

Return the name of the geometry as (const reference) std::string

Definition at line 60 of file geometry.h.

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