concepts::SphericalSurface3d Class Reference
Geometric spherical surface element. More...
#include <sphereCell.hh>
Public Member Functions | |
const Quad2d * | child (uint i) const override |
Returns a pointer to the ith child. More... | |
Quad2d * | child (uint i) override |
Returns a pointer to the ith child. More... | |
SphericalSurface & | connector () const override |
Returns the connector. More... | |
Real3d | elemMap (const Real &theta, const Real &phi) const |
Real3d | elemMap (const Real coord_local) const override |
Element map from point local coordinates in 1D. More... | |
Real3d | elemMap (const Real2d &coord_local) const override |
Element map from point local coordinates in 2D. More... | |
Real3d | elemMap (const Real3d &coord_local) const override |
Element map from point local coordinates in 3D. More... | |
Real3d | getCenter () const |
Real | getRadius () const |
bool | hasChildren () const |
std::ostream & | info (std::ostream &os) const override |
Returns information in an output stream. More... | |
Real2d | inverseElemMap (const Real3d &coord_global) const |
Real | jacobianDeterminant (const Real2d &coord_local) const |
SphericalSurface3d (SphericalSurface &cntr, Real radius, Real3d center) | |
~SphericalSurface3d () override | |
Private Attributes | |
std::vector< Quad2d * > | chld_ |
Child cells. More... | |
SphericalSurface & | cntr_ |
Topology. More... | |
SphereMapping | mapping_ |
Geometric embedding. More... | |
Detailed Description
Geometric spherical surface element.
Topology is aggregated via SphericalSurface, geometry via SphereMapping.
- Todo:
- use SphereMapping type consistently throughout this type
Definition at line 33 of file sphereCell.hh.
Constructor & Destructor Documentation
◆ SphericalSurface3d()
concepts::SphericalSurface3d::SphericalSurface3d | ( | SphericalSurface & | cntr, |
Real | radius, | ||
Real3d | center | ||
) |
◆ ~SphericalSurface3d()
|
override |
Member Function Documentation
◆ child() [1/2]
|
overridevirtual |
Returns a pointer to the ith child.
Children are not created if they do not already exist, instead 0 is returned.
Implements concepts::Cell.
◆ child() [2/2]
|
overridevirtual |
Returns a pointer to the ith child.
Children are created if they do not already exist.
Implements concepts::Cell.
◆ connector()
|
inlineoverridevirtual |
◆ elemMap() [1/4]
Definition at line 59 of file sphereCell.hh.
◆ elemMap() [2/4]
Element map from point local coordinates in 1D.
Reimplemented from concepts::Cell.
Definition at line 48 of file sphereCell.hh.
◆ elemMap() [3/4]
|
inlineoverridevirtual |
Element map from point local coordinates in 2D.
Reimplemented from concepts::Cell.
Definition at line 52 of file sphereCell.hh.
◆ elemMap() [4/4]
|
inlineoverridevirtual |
Element map from point local coordinates in 3D.
Reimplemented from concepts::Cell.
Definition at line 55 of file sphereCell.hh.
◆ getCenter()
|
inline |
Definition at line 107 of file sphereCell.hh.
◆ getRadius()
|
inline |
Definition at line 105 of file sphereCell.hh.
◆ hasChildren()
|
inline |
Definition at line 44 of file sphereCell.hh.
◆ info()
|
overridevirtual |
Returns information in an output stream.
Implements concepts::Cell.
◆ inverseElemMap()
prevent ill-conditioned coordinate transform
invert cosine
invert sine
Definition at line 66 of file sphereCell.hh.
◆ jacobianDeterminant()
Definition at line 102 of file sphereCell.hh.
Member Data Documentation
◆ chld_
|
private |
Child cells.
Definition at line 115 of file sphereCell.hh.
◆ cntr_
|
private |
Topology.
Definition at line 112 of file sphereCell.hh.
◆ mapping_
|
private |
Geometric embedding.
Definition at line 118 of file sphereCell.hh.
The documentation for this class was generated from the following file:
- geometry/sphereCell.hh