SphereAMRRegion< dim, number > Class Template Reference
|
Developer Documentation
|
MeltPoolDG::AMR::SphereAMRRegion< dim, number > Class Template Reference
Represents a spherical region for adaptive mesh refinement. More...
#include <amr_regions.hpp>
Public Member Functions | |
| SphereAMRRegion (const dealii::Point< dim, number > ¢er, const number radius) | |
| Construct a spherical AMR region. | |
| bool | point_inside (const dealii::Point< dim, number > &p) const |
| Check whether a point lies inside the sphere. | |
Private Attributes | |
| const dealii::Point< dim, number > | center |
| const number | radius |
Detailed Description
template<int dim, typename number>
class MeltPoolDG::AMR::SphereAMRRegion< dim, number >
class MeltPoolDG::AMR::SphereAMRRegion< dim, number >
Represents a spherical region for adaptive mesh refinement.
Constructor & Destructor Documentation
◆ SphereAMRRegion()
template<int dim, typename number >
|
inline |
Construct a spherical AMR region.
- Parameters
-
center The center of the sphere. radius The radius of the sphere.
- Exceptions
-
dealii::ExcMessage if radius <= 0.
Member Function Documentation
◆ point_inside()
template<int dim, typename number >
|
inline |
Check whether a point lies inside the sphere.
- Parameters
-
p The point to test.
- Returns
trueif the point is inside the sphere (including the surface),falseotherwise.
Member Data Documentation
◆ center
template<int dim, typename number >
|
private |
◆ radius
template<int dim, typename number >
|
private |
The documentation for this class was generated from the following file:
- include/meltpooldg/utilities/amr_regions.hpp
Generated by