|
dune-pdelab 2.10-git
|
Loading...
Searching...
No Matches
Dune::PDELab::JacobianToCurl< Jacobian, 3, 3 > Class Template Reference
extract the curl of a 3D-valued function in 3D 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 = 3 |
Detailed Description
template<typename Jacobian>
class Dune::PDELab::JacobianToCurl< Jacobian, 3, 3 >
class Dune::PDELab::JacobianToCurl< Jacobian, 3, 3 >
extract the curl of a 3D-valued function in 3D from the jacobian of that function
In the general 3D formula for the curl
\begin{align*} A &=\nabla\times B \\ & \Downarrow \\ a_x &= \partial_yb_z-\partial_zb_y \\ a_y &= \partial_zb_x-\partial_xb_z \\ a_z &= \partial_xb_y-\partial_yb_x \end{align*}
we just need to replace \(x\), \(y\) and \(z\) by the apropriate indices
\begin{align*} a_0 &= \partial_1b_2-\partial_2b_1 \\ a_1 &= \partial_2b_0-\partial_0b_2 \\ a_2 &= \partial_0b_1-\partial_1b_0 \end{align*}
Member Typedef Documentation
◆ Curl
template<typename Jacobian >
| typedef FieldVector<CurlField, dimCurl> Dune::PDELab::JacobianToCurl< Jacobian, 3, 3 >::Curl |
◆ CurlField
template<typename Jacobian >
| typedef Jacobian::block_type Dune::PDELab::JacobianToCurl< Jacobian, 3, 3 >::CurlField |
Member Function Documentation
◆ operator()()
template<typename Jacobian >
|
inline |
Member Data Documentation
◆ dimCurl
template<typename Jacobian >
|
static |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8