concepts::SphericalSurface3d Class Reference

Geometric spherical surface element. More...

#include <sphereCell.hh>

Inheritance diagram for concepts::SphericalSurface3d:
concepts::Cell concepts::OutputOperator

Public Member Functions

const Quad2dchild (uint i) const override
 Returns a pointer to the ith child. More...
 
Quad2dchild (uint i) override
 Returns a pointer to the ith child. More...
 
SphericalSurfaceconnector () 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...
 
SphericalSurfacecntr_
 Topology. More...
 
SphereMapping mapping_
 Geometric embedding. More...
 

Detailed Description

Geometric spherical surface element.

Topology is aggregated via SphericalSurface, geometry via SphereMapping.

Author
Lukas Drescher, 2014
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()

concepts::SphericalSurface3d::~SphericalSurface3d ( )
override

Member Function Documentation

◆ child() [1/2]

const Quad2d* concepts::SphericalSurface3d::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::SphericalSurface3d::child ( uint  i)
overridevirtual

Returns a pointer to the ith child.

Children are created if they do not already exist.

Implements concepts::Cell.

◆ connector()

SphericalSurface& concepts::SphericalSurface3d::connector ( ) const
inlineoverridevirtual

Returns the connector.

Implements concepts::Cell.

Definition at line 46 of file sphereCell.hh.

◆ elemMap() [1/4]

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

Definition at line 59 of file sphereCell.hh.

◆ elemMap() [2/4]

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

Element map from point local coordinates in 1D.

Reimplemented from concepts::Cell.

Definition at line 48 of file sphereCell.hh.

◆ elemMap() [3/4]

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

Element map from point local coordinates in 2D.

Reimplemented from concepts::Cell.

Definition at line 52 of file sphereCell.hh.

◆ elemMap() [4/4]

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

Element map from point local coordinates in 3D.

Reimplemented from concepts::Cell.

Definition at line 55 of file sphereCell.hh.

◆ getCenter()

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

Definition at line 107 of file sphereCell.hh.

◆ getRadius()

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

Definition at line 105 of file sphereCell.hh.

◆ hasChildren()

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

Definition at line 44 of file sphereCell.hh.

◆ info()

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

Returns information in an output stream.

Implements concepts::Cell.

◆ inverseElemMap()

Real2d concepts::SphericalSurface3d::inverseElemMap ( const Real3d coord_global) const
inline

prevent ill-conditioned coordinate transform

invert cosine

invert sine

Definition at line 66 of file sphereCell.hh.

◆ jacobianDeterminant()

Real concepts::SphericalSurface3d::jacobianDeterminant ( const Real2d coord_local) const
inline

Definition at line 102 of file sphereCell.hh.

Member Data Documentation

◆ chld_

std::vector<Quad2d*> concepts::SphericalSurface3d::chld_
private

Child cells.

Definition at line 115 of file sphereCell.hh.

◆ cntr_

SphericalSurface& concepts::SphericalSurface3d::cntr_
private

Topology.

Definition at line 112 of file sphereCell.hh.

◆ mapping_

SphereMapping concepts::SphericalSurface3d::mapping_
private

Geometric embedding.

Definition at line 118 of file sphereCell.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich