Fluid Dynamics Library
Public Member Functions | Private Attributes
fdl::Spherical< scalar_t > Class Template Reference

Indicator function, $\mathbf{x} \mapsto \alpha \mathbf{1}_A(\mathbf{x})$, on radially symmetric set $A$. More...

#include <scalars.hpp>

Inheritance diagram for fdl::Spherical< scalar_t >:
fdl::ScalarBase< scalar_t >

List of all members.

Public Member Functions

 Spherical (unsigned dim, scalar_t x0[], scalar_t sigma=scalar_t(1), scalar_t alpha=scalar_t(1))
 Legacy constructor for $A = \{x \in \mathbf{R}^d: |x - x_0| < \sigma\}$.
 Spherical (TiXmlNode *node)
virtual scalar_t operator() (scalar_t t, const scalar_t x[])

Private Attributes

scalar_t alpha_
scalar_t r2_
scalar_t x0_ [3]

Detailed Description

template<typename scalar_t>
class fdl::Spherical< scalar_t >

Indicator function, $\mathbf{x} \mapsto \alpha \mathbf{1}_A(\mathbf{x})$, on radially symmetric set $A$.

Definition at line 121 of file scalars.hpp.


Constructor & Destructor Documentation

template<typename scalar_t >
fdl::Spherical< scalar_t >::Spherical ( TiXmlNode *  node) [inline]

XML data format:

 <Node>
    <Definition>Spherical</Definition>
    <Parameters x0="0.0" y0="0.0" z0="0.0" alpha="1.0" radius="1.0">
 </Node>
 

Definition at line 149 of file scalars.hpp.


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