dune-pdelab
2.5-dev
|
extract the curl of a 2D-valued function in 2D from the jacobian of that function More...
#include <dune/pdelab/common/jacobiantocurl.hh>
Public Types | |
typedef Jacobian::block_type | CurlField |
typedef FieldVector< CurlField, dimCurl > | Curl |
Public Member Functions | |
void | operator() (const Jacobian &jacobian, Curl &curl) const |
Static Public Attributes | |
static const std::size_t | dimCurl = 1 |
extract the curl of a 2D-valued function in 2D from the jacobian of that function
The two coordinates are the - and
coordinates and the two value components the
- and
-components of the quantity. It is assumed that the quantity shows no variation in the
-direction (thus
) and that its
-component vanishes. From the general 3D formula for the curl
only the last survives:
Replacing ,
and
by the apropriate indices yields
typedef FieldVector<CurlField, dimCurl> Dune::PDELab::JacobianToCurl< Jacobian, 2, 2 >::Curl |
typedef Jacobian::block_type Dune::PDELab::JacobianToCurl< Jacobian, 2, 2 >::CurlField |
|
inline |
|
static |