|
dune-pdelab
2.5-dev
|
extract the curl of a 1D-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 = 2 |
extract the curl of a 1D-valued function in 2D from the jacobian of that function
The two coordinates are the
- and
coordinates and the one value component is the
-component of the quantity. It is assumed that the quantity shows no variation in the
-direction (thus
) and that its
- and
-components vanish. From the general 3D formula for the curl
only the first two survive:
Replacing
,
and
by the apropriate indices yields
| typedef FieldVector<CurlField, dimCurl> Dune::PDELab::JacobianToCurl< Jacobian, 1, 2 >::Curl |
| typedef Jacobian::block_type Dune::PDELab::JacobianToCurl< Jacobian, 1, 2 >::CurlField |
|
inline |
|
static |
1.8.17