sphereCell.hh
Go to the documentation of this file.
86 static std::uniform_real_distribution<concepts::Real> distribution_(0.,2.*3.14159265358979323846264338328);
168 conceptsAssert( std::abs(sphericalCoord.l2()-radius) < 1e2*std::numeric_limits<Real>::epsilon(),
172 if(std::isnan(phi)) DEBUGL(1,"Phi is nan for spherical coordinates (" << sphericalCoord[0] << ","
Real3d elemMap(const Real coord_local) const override
Element map from point local coordinates in 1D.
Definition: sphereCell.hh:145
std::ostream & info(std::ostream &os) const override
Returns information in an output stream.
Real jacobianDeterminant(const Real2d &coord_local) const
Definition: sphereCell.hh:102
Real3d elemMap(const Real coord_local) const override
Element map from point local coordinates in 1D.
Definition: sphereCell.hh:48
Real3d elemMap(const Real2d &coord_local) const override
Element map from point local coordinates in 2D.
Definition: sphereCell.hh:52
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geome...
Definition: cell.hh:39
#define conceptsAssert(cond, exc)
Assert that a certain condition is fulfilled.
Definition: exceptions.hh:394
Real3d inverseElemMap(const Real3d &coord_global) const
Definition: sphereCell.hh:164
#define DEBUGL(doit, msg)
std::ostream & info(std::ostream &os) const override
Returns information in an output stream.
const Cell * child(uint i) const override
Returns a pointer to the ith child.
Real jacobianDeterminant(const Real3d &coord_local) const
Definition: sphereCell.hh:211
~Sphere3d() override
Quad2d * child(uint i) override
Returns a pointer to the ith child.
Real3d elemMap(const Real3d &coord_local) const override
Element map from point local coordinates in 3D.
Definition: sphereCell.hh:153
Sphere3d(Sphere &cntr, Real radius, Real3d center)
Real3d elemMap(const Real2d &coord_local) const override
Element map from point local coordinates in 2D.
Definition: sphereCell.hh:149
~SphericalSurface3d() override
Real2d inverseElemMap(const Real3d &coord_global) const
Definition: sphereCell.hh:66
const Quad2d * child(uint i) const override
Returns a pointer to the ith child.
Real3d elemMap(const Real &theta, const Real &phi) const
Definition: sphereCell.hh:59
Real3d elemMap(const Real &radius, const Real &theta, const Real &phi) const
Definition: sphereCell.hh:157
SphericalSurface3d(SphericalSurface &cntr, Real radius, Real3d center)
Real3d elemMap(const Real3d &coord_local) const override
Element map from point local coordinates in 3D.
Definition: sphereCell.hh:55