concepts::Sphere3d Class Reference
Geometric sphere element. More...
#include <sphereCell.hh>
Public Member Functions | |
const Cell * | 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... | |
Sphere & | connector () const override |
Returns the connector. More... | |
Real3d | elemMap (const Real &radius, 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... | |
Real3d | inverseElemMap (const Real3d &coord_global) const |
Real | jacobianDeterminant (const Real3d &coord_local) const |
Sphere3d (Sphere &cntr, Real radius, Real3d center) | |
~Sphere3d () override | |
Private Attributes | |
Sphere & | cntr_ |
Topology. More... | |
SphereMapping | mapping_ |
Geometric embedding. More... | |
Detailed Description
Geometric sphere element.
Topology is aggregated via Sphere, geometry via SphereMapping.
- Todo:
- use SphereMapping type consistently throughout this type
Definition at line 130 of file sphereCell.hh.
Constructor & Destructor Documentation
◆ Sphere3d()
◆ ~Sphere3d()
|
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]
|
inline |
Definition at line 157 of file sphereCell.hh.
◆ elemMap() [2/4]
Element map from point local coordinates in 1D.
Reimplemented from concepts::Cell.
Definition at line 145 of file sphereCell.hh.
◆ elemMap() [3/4]
Element map from point local coordinates in 2D.
Reimplemented from concepts::Cell.
Definition at line 149 of file sphereCell.hh.
◆ elemMap() [4/4]
Element map from point local coordinates in 3D.
Reimplemented from concepts::Cell.
Definition at line 153 of file sphereCell.hh.
◆ getCenter()
|
inline |
Definition at line 217 of file sphereCell.hh.
◆ getRadius()
|
inline |
Definition at line 215 of file sphereCell.hh.
◆ hasChildren()
|
inline |
Definition at line 141 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 164 of file sphereCell.hh.
◆ jacobianDeterminant()
Definition at line 211 of file sphereCell.hh.
Member Data Documentation
◆ cntr_
|
private |
Topology.
Definition at line 223 of file sphereCell.hh.
◆ mapping_
|
private |
Geometric embedding.
Definition at line 226 of file sphereCell.hh.
The documentation for this class was generated from the following file:
- geometry/sphereCell.hh