Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::Sphere3d Class Reference

#include <sphereCell.hh>

Inheritance diagram for concepts::Sphere3d:
concepts::Cell concepts::OutputOperator

Public Member Functions

 Sphere3d (Sphere &cntr, Real radius, Real3d center)
 
const Cellchild (uint i) const override
 
Quad2dchild (uint i) override
 
bool hasChildren () const
 
Sphereconnector () const override
 Returns the connector.
 
Real3d elemMap (const Real coord_local) const override
 Element map from point local coordinates in 1D.
 
Real3d elemMap (const Real2d &coord_local) const override
 Element map from point local coordinates in 2D.
 
Real3d elemMap (const Real3d &coord_local) const override
 Element map from point local coordinates in 3D.
 
Real3d elemMap (const Real &radius, const Real &theta, const Real &phi) const
 
Real3d inverseElemMap (const Real3d &coord_global) const
 
Real jacobianDeterminant (const Real3d &coord_local) const
 
Real getRadius () const
 
Real3d getCenter () const
 
std::ostream & info (std::ostream &os) const override
 Returns information in an output stream.
 

Detailed Description

Geometric sphere element. Topology is aggregated via Sphere, geometry via SphereMapping.

Author
Lukas Drescher, 2014
Todo:
use SphereMapping type consistently throughout this type

Definition at line 130 of file sphereCell.hh.

Member Function Documentation

◆ child() [1/2]

const Cell * concepts::Sphere3d::child ( uint  i) const
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]

Quad2d * concepts::Sphere3d::child ( uint  i)
overridevirtual

Returns a pointer to the ith child. Children are created if they do not already exist.

Implements concepts::Cell.

◆ connector()

Sphere & concepts::Sphere3d::connector ( ) const
inlineoverridevirtual

Returns the connector.

Implements concepts::Cell.

Definition at line 143 of file sphereCell.hh.

◆ elemMap() [1/4]

Real3d concepts::Sphere3d::elemMap ( const Real radius,
const Real theta,
const Real phi 
) const
inline

Definition at line 157 of file sphereCell.hh.

◆ elemMap() [2/4]

Real3d concepts::Sphere3d::elemMap ( const Real  coord_local) const
inlineoverridevirtual

Element map from point local coordinates in 1D.

Reimplemented from concepts::Cell.

Definition at line 145 of file sphereCell.hh.

◆ elemMap() [3/4]

Real3d concepts::Sphere3d::elemMap ( const Real2d coord_local) const
inlineoverridevirtual

Element map from point local coordinates in 2D.

Reimplemented from concepts::Cell.

Definition at line 149 of file sphereCell.hh.

◆ elemMap() [4/4]

Real3d concepts::Sphere3d::elemMap ( const Real3d coord_local) const
inlineoverridevirtual

Element map from point local coordinates in 3D.

Reimplemented from concepts::Cell.

Definition at line 153 of file sphereCell.hh.

◆ getCenter()

Real3d concepts::Sphere3d::getCenter ( ) const
inline

Definition at line 217 of file sphereCell.hh.

◆ getRadius()

Real concepts::Sphere3d::getRadius ( ) const
inline

Definition at line 215 of file sphereCell.hh.

◆ hasChildren()

bool concepts::Sphere3d::hasChildren ( ) const
inline

Definition at line 141 of file sphereCell.hh.

◆ info()

std::ostream & concepts::Sphere3d::info ( std::ostream &  os) const
overridevirtual

Returns information in an output stream.

Implements concepts::Cell.

◆ inverseElemMap()

Real3d concepts::Sphere3d::inverseElemMap ( const Real3d coord_global) const
inline

prevent ill-conditioned coordinate transform

invert cosine

invert sine

Definition at line 164 of file sphereCell.hh.

◆ jacobianDeterminant()

Real concepts::Sphere3d::jacobianDeterminant ( const Real3d coord_local) const
inline

Definition at line 211 of file sphereCell.hh.


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