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

Scalar field "function object" for ODE steppers. More...

#include <ftnsbase.hpp>

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

List of all members.

Public Member Functions

virtual scalar_t operator() (scalar_t t, const scalar_t x[])=0
 ScalarBase (unsigned dim=3)

Protected Attributes

unsigned dim_
 Dimension of underlying Cartesian space.

Detailed Description

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

Scalar field "function object" for ODE steppers.

In defining a time-dependent scalar field, $\mathbf{R}^{d+1}\to \mathbf{R} : (t, \mathbf{x}) \mapsto f(t,\mathbf{x})$, the vector $x\in \mathbf{R}^d$ is passed as a scalar_t array in operator().

Definition at line 35 of file ftnsbase.hpp.


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