DUNE PDELab (git)

Dune::PDELab::Electrodynamic_S< Mu > Class Template Reference

Contruct matrix S for the Electrodynamic operator. More...

#include <dune/pdelab/localoperator/electrodynamic.hh>

Public Types

Flags selective assembly
enum  
 Whether to do selective assembly on the elements, i.e. whether or not skip_entity() should be called.
 
enum  
 Whether to do selective assembly on the intersections, i.e. whether or not skip_intersection() should be called.
 
Flags for the sparsity pattern
enum  
 Whether to assemble the pattern on the elements, i.e. whether or not pattern_volume() should be called.
 
enum  
 Whether to assemble the pattern on the elements after the skeleton has been handled, i.e. whether or not pattern_volume_post_skeleton() should be called.
 
enum  
 Whether to assemble the pattern on the interior intersections, i.e. whether or not pattern_skeleton() should be called.
 
enum  
 Whether to assemble the pattern on the boundary intersections, i.e. whether or not pattern_boundary() should be called.
 
Flags for the non-constant part of the residual and the jacobian
enum  
 Whether to call the local operator's alpha_volume(), jacobian_apply_volume() and jacobian_volume().
 
enum  
 Whether to call the local operator's alpha_volume_post_skeleton(), jacobian_apply_volume_post_skeleton() and jacobian_volume_post_skeleton().
 
enum  
 Whether to call the local operator's alpha_skeleton(), jacobian_apply_skeleton() and jacobian_skeleton().
 
enum  
 Whether to call the local operator's alpha_boundary(), jacobian_apply_boundary() and jacobian_boundary().
 
Flags for the constant part of the residual
enum  
 Whether to call the local operator's lambda_volume().
 
enum  
 Whether to call the local operator's lambda_volume_post_skeleton().
 
enum  
 Whether to call the local operator's lambda_skeleton().
 
enum  
 Whether to call the local operator's lambda_boundary().
 
Special flags
enum  
 Whether to visit the skeleton methods from both sides.
 
enum  
 Wheter the local operator describes a linear problem.
 

Public Member Functions

 Electrodynamic_S (const Mu &mu, int qorder=2)
 Construct an Electrodynamic_S localoperator. More...
 
template<typename EG , typename LFS , typename X , typename M >
void jacobian_volume (const EG &eg, const LFS &lfsu, const X &x, const LFS &lfsv, M &mat) const
 
void alpha_volume (const EG &eg, const LFSU &lfsu, const X &x, const LFSV &lfsv, R &r) const
 compute \(\alpha_\text{vol}\)
 

Detailed Description

template<typename Mu>
class Dune::PDELab::Electrodynamic_S< Mu >

Contruct matrix S for the Electrodynamic operator.

Construct the matrix

\[ S_{ij}=\int_\Omega\mu^{-1}(\nabla\times\mathbf N_i)\cdot (\nabla\times\mathbf N_j)dV \]

which appears inside the Electrodynamic operator.

Template Parameters
MuType of function to evaluate \(\mu\)

Constructor & Destructor Documentation

◆ Electrodynamic_S()

template<typename Mu >
Dune::PDELab::Electrodynamic_S< Mu >::Electrodynamic_S ( const Mu &  mu,
int  qorder = 2 
)
inline

Construct an Electrodynamic_S localoperator.

Parameters
mu(Reference to) Function object to evaluate
qorderQuadrature order to use.

Member Function Documentation

◆ jacobian_volume()

template<typename Mu >
template<typename EG , typename LFS , typename X , typename M >
void Dune::PDELab::Electrodynamic_S< Mu >::jacobian_volume ( const EG &  eg,
const LFS &  lfsu,
const X &  x,
const LFS &  lfsv,
M &  mat 
) const
inline
Note
We support only Galerkin method lfsu==lfsv

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 23, 23:29, 2024)