PRISMS-PF Manual
Loading...
Searching...
No Matches
SphericalMesh< dim > Struct Template Reference

Class for spherical mesh parameters. More...

#include <spatial_discretization.h>

Public Member Functions

 SphericalMesh ()=default
 Constructor.
 
 SphericalMesh (double _radius)
 Constructor.
 
void generate_mesh (Triangulation< dim > &triangulation) const
 Generate the mesh.
 
void validate () const
 Validate.
 

Public Attributes

double radius = 1.0
 Radius of the spherical domain.
 

Private Member Functions

void mark_boundaries (Triangulation< dim > &triangulation) const
 Mark the boundaries of the mesh.
 

Detailed Description

template<unsigned int dim>
struct SphericalMesh< dim >

Class for spherical mesh parameters.

Constructor & Destructor Documentation

◆ SphericalMesh() [1/2]

template<unsigned int dim>
SphericalMesh< dim >::SphericalMesh ( )
default

Constructor.

◆ SphericalMesh() [2/2]

template<unsigned int dim>
SphericalMesh< dim >::SphericalMesh ( double  _radius)
inlineexplicit

Constructor.

Member Function Documentation

◆ generate_mesh()

template<unsigned int dim>
void SphericalMesh< dim >::generate_mesh ( Triangulation< dim > &  triangulation) const
inline

Generate the mesh.

◆ mark_boundaries()

template<unsigned int dim>
void SphericalMesh< dim >::mark_boundaries ( Triangulation< dim > &  triangulation) const
inlineprivate

Mark the boundaries of the mesh.

◆ validate()

template<unsigned int dim>
void SphericalMesh< dim >::validate ( ) const
inline

Validate.

Member Data Documentation

◆ radius

template<unsigned int dim>
double SphericalMesh< dim >::radius = 1.0

Radius of the spherical domain.


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