ryujin 2.1.1 revision b04fb4aba7bd97ddfa5994a6b4b6e8586eb15db2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ryujin::Geometries::GeoTIFFProfile< dim > Class Template Reference

#include <source/geometries/geometry_geotiff_profile.h>

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

Public Member Functions

 GeoTIFFProfile (const std::string &subsection)
 
void create_coarse_triangulation (dealii::Triangulation< dim > &triangulation) const final
 
void update_dof_handler (dealii::DoFHandler< dim > &dof_handler) const final
 
Geometry< dim >::HP_Collection populate_hp_collections (const unsigned int fe_degree, typename ryujin::Discretization< dim >::Collection &collection) const final
 
- Public Member Functions inherited from ryujin::Geometries::RectangularDomain< dim >
 RectangularDomain (const std::string &name, const std::string &subsection)
 
 RectangularDomain (const std::string subsection)
 
void create_coarse_triangulation (dealii::Triangulation< dim > &triangulation) const override
 
Geometry< dim >::HP_Collection populate_hp_collections (const unsigned int, typename ryujin::Discretization< dim >::Collection &) const override
 
- Public Member Functions inherited from ryujin::Geometry< dim >
 Geometry (const std::string &name, const std::string &subsection)
 

Additional Inherited Members

- Public Types inherited from ryujin::Geometry< dim >
enum class  HP_Collection { standard_quadrilaterals , standard_simplices , populated_by_geometry }
 
- Protected Attributes inherited from ryujin::Geometries::RectangularDomain< dim >
dealii::Point< dim > point_left_
 
dealii::Point< dim > point_right_
 
unsigned int subdivisions_x_
 
unsigned int subdivisions_y_
 
unsigned int subdivisions_z_
 
std::string grading_push_forward_
 
std::string grading_pull_back_
 
Boundary boundary_back_
 
Boundary boundary_bottom_
 
Boundary boundary_front_
 
Boundary boundary_left_
 
Boundary boundary_right_
 
Boundary boundary_top_
 
bool use_simplices_
 
- Protected Attributes inherited from ryujin::Geometry< dim >
std::function< dealii::Point< dim >(const typename dealii::Triangulation< dim >::cell_iterator &, const dealii::Point< dim > &)> transformation_
 

Detailed Description

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

A modified rectangular domain, where the bottom boundary is described by an elevation profile read from a GeoTIFF file. By convention, the negative y-direction points to the bottom boundary.

The rectangular mesh is aligned with the profile (see MeshAlignment) and the cells above the profile form the new mesh, where cut cells are replaced by triangles (see CutCellDecomposition).

Note
Only implemented in 2D.

Definition at line 42 of file geometry_geotiff_profile.h.

Constructor & Destructor Documentation

◆ GeoTIFFProfile()

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

Definition at line 45 of file geometry_geotiff_profile.h.

Member Function Documentation

◆ create_coarse_triangulation()

template<int dim>
void ryujin::Geometries::GeoTIFFProfile< dim >::create_coarse_triangulation ( dealii::Triangulation< dim > &  triangulation) const
inlinefinalvirtual

Create a coarse triangulation representing the current Geometry. This virtual method needs to be implemented in a derived classes.

Implements ryujin::Geometry< dim >.

Definition at line 67 of file geometry_geotiff_profile.h.

References ryujin::Geometries::RectangularDomain< dim >::boundary_bottom_, ryujin::GeoTIFFReader::compute_height(), and ryujin::Geometries::RectangularDomain< dim >::create_coarse_triangulation().

◆ update_dof_handler()

template<int dim>
void ryujin::Geometries::GeoTIFFProfile< dim >::update_dof_handler ( dealii::DoFHandler< dim > &  ) const
inlinefinalvirtual

This method is called before we distribute dofs and can be used to set the correct active FE index for each active cell for the given DoFHandler, or update material, or manifold ids, etc.

This method can be left empty for a standard geometry that only uses only one reference element. The method must be reimplemented for geometries that use hp capabilities, such as meshes with mixed finite elements, or meshes with FE_Nothing.

Reimplemented from ryujin::Geometry< dim >.

Definition at line 126 of file geometry_geotiff_profile.h.

◆ populate_hp_collections()

template<int dim>
Geometry< dim >::HP_Collection ryujin::Geometries::GeoTIFFProfile< dim >::populate_hp_collections ( const unsigned int  ,
typename ryujin::Discretization< dim >::Collection &   
) const
inlinefinalvirtual

Populate all hp::*Collection objects for finite elements, mappings, and quadratures. As this is a formidable zoo of different collection objects, we get a writable reference to the discretization object to set them directly.

Reimplemented from ryujin::Geometry< dim >.

Definition at line 136 of file geometry_geotiff_profile.h.


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