dune-localfunctions 2.10
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value > Struct Template Reference

#include <dune/localfunctions/utility/tensor.hh>

Public Types

typedef Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::valueThis
 
typedef LFETensor< F, dimD, 0 > ThisLFETensor
 
typedef F Field
 
typedef F field_type
 
typedef Dune::FieldVector< F, sizeBlock
 

Public Member Functions

template<class FF >
Thisoperator= (const FF &f)
 
Thisoperator= (const Dune::FieldVector< ThisLFETensor, dimR > &t)
 
Thisoperator= (const Block &t)
 
Thisoperator*= (const field_type &f)
 
void axpy (const F &a, const This &y)
 
template<class Fy >
void assign (const Derivatives< Fy, dimD, dimR, 0, DerivativeLayoutNS::value > &y)
 
template<class Fy >
void assign (const Derivatives< Fy, dimD, dimR, 0, DerivativeLayoutNS::derivative > &y)
 
template<class Fy , int dimRy>
void assign (const Derivatives< Fy, dimD, dimRy, 0, DerivativeLayoutNS::value > &y, unsigned int r)
 
template<class Fy >
void assign (unsigned int r, const Derivatives< Fy, dimD, 1, 0, DerivativeLayoutNS::value > &y)
 
template<class Fy >
void assign (unsigned int r, const Derivatives< Fy, dimD, 1, 0, DerivativeLayoutNS::derivative > &y)
 
Blockblock ()
 
const Blockblock () const
 
ThisLFETensoroperator[] (int r)
 
const ThisLFETensoroperator[] (int r) const
 
template<int dorder>
const Dune::FieldVector< LFETensor< F, dimD, 0 >, dimR > & tensor () const
 
Dune::FieldVector< LFETensor< F, dimD, 0 >, dimR > & tensor ()
 
template<unsigned int dorder>
const Dune::FieldVector< F, LFETensor< F, dimD, dorder >::size *dimR > & block () const
 
template<unsigned int dorder>
Dune::FieldVector< F, LFETensor< F, dimD, dorder >::size *dimR > & block ()
 

Static Public Attributes

static const DerivativeLayoutNS::DerivativeLayout layout = DerivativeLayoutNS::value
 
static const unsigned int dimDomain = dimD
 
static const unsigned int dimRange = dimR
 
static constexpr int size = ThisLFETensor::size*dimR
 

Protected Member Functions

const Dune::FieldVector< LFETensor< F, dimD, 0 >, dimR > & tensor (const std::integral_constant< int, 0 > &dorderVar) const
 
Dune::FieldVector< LFETensor< F, dimD, 0 >, dimR > & tensor (const std::integral_constant< int, 0 > &dorderVar)
 
template<class Fy , unsigned int dy>
void assign (const Derivatives< Fy, dimD, dimR, dy, DerivativeLayoutNS::derivative > &y)
 
template<class Fy , int dimRy>
void assign (const FieldVector< Fy, size *dimRy > &y, unsigned int r)
 
template<class Fy >
void assign (unsigned int r, const FieldVector< Fy, size/dimR > &y)
 

Protected Attributes

Dune::FieldVector< ThisLFETensor, dimR > tensor_
 

Member Typedef Documentation

◆ Block

template<class F , int dimD, int dimR>
typedef Dune::FieldVector<F,size> Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::Block

◆ Field

template<class F , int dimD, int dimR>
typedef F Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::Field

◆ field_type

template<class F , int dimD, int dimR>
typedef F Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::field_type

◆ This

template<class F , int dimD, int dimR>
typedef Derivatives<F,dimD,dimR,0,DerivativeLayoutNS::value> Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::This

◆ ThisLFETensor

template<class F , int dimD, int dimR>
typedef LFETensor<F,dimD,0> Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::ThisLFETensor

Member Function Documentation

◆ assign() [1/8]

template<class F , int dimD, int dimR>
template<class Fy >
void Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::assign ( const Derivatives< Fy, dimD, dimR, 0, DerivativeLayoutNS::derivative > &  y)
inline

◆ assign() [2/8]

template<class F , int dimD, int dimR>
template<class Fy >
void Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::assign ( const Derivatives< Fy, dimD, dimR, 0, DerivativeLayoutNS::value > &  y)
inline

◆ assign() [3/8]

template<class F , int dimD, int dimR>
template<class Fy , unsigned int dy>
void Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::assign ( const Derivatives< Fy, dimD, dimR, dy, DerivativeLayoutNS::derivative > &  y)
inlineprotected

◆ assign() [4/8]

template<class F , int dimD, int dimR>
template<class Fy , int dimRy>
void Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::assign ( const Derivatives< Fy, dimD, dimRy, 0, DerivativeLayoutNS::value > &  y,
unsigned int  r 
)
inline

◆ assign() [5/8]

template<class F , int dimD, int dimR>
template<class Fy , int dimRy>
void Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::assign ( const FieldVector< Fy, size *dimRy > &  y,
unsigned int  r 
)
inlineprotected

◆ assign() [6/8]

template<class F , int dimD, int dimR>
template<class Fy >
void Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::assign ( unsigned int  r,
const Derivatives< Fy, dimD, 1, 0, DerivativeLayoutNS::derivative > &  y 
)
inline

◆ assign() [7/8]

template<class F , int dimD, int dimR>
template<class Fy >
void Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::assign ( unsigned int  r,
const Derivatives< Fy, dimD, 1, 0, DerivativeLayoutNS::value > &  y 
)
inline

◆ assign() [8/8]

template<class F , int dimD, int dimR>
template<class Fy >
void Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::assign ( unsigned int  r,
const FieldVector< Fy, size/dimR > &  y 
)
inlineprotected

◆ axpy()

template<class F , int dimD, int dimR>
void Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::axpy ( const F &  a,
const This y 
)
inline

◆ block() [1/4]

template<class F , int dimD, int dimR>
Block & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::block ( )
inline

◆ block() [2/4]

template<class F , int dimD, int dimR>
template<unsigned int dorder>
Dune::FieldVector< F, LFETensor< F, dimD, dorder >::size *dimR > & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::block ( )
inline

◆ block() [3/4]

template<class F , int dimD, int dimR>
const Block & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::block ( ) const
inline

◆ block() [4/4]

template<class F , int dimD, int dimR>
template<unsigned int dorder>
const Dune::FieldVector< F, LFETensor< F, dimD, dorder >::size *dimR > & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::block ( ) const
inline

◆ operator*=()

template<class F , int dimD, int dimR>
This & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::operator*= ( const field_type f)
inline

◆ operator=() [1/3]

template<class F , int dimD, int dimR>
This & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::operator= ( const Block t)
inline

◆ operator=() [2/3]

template<class F , int dimD, int dimR>
This & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::operator= ( const Dune::FieldVector< ThisLFETensor, dimR > &  t)
inline

◆ operator=() [3/3]

template<class F , int dimD, int dimR>
template<class FF >
This & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::operator= ( const FF &  f)
inline

◆ operator[]() [1/2]

template<class F , int dimD, int dimR>
ThisLFETensor & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::operator[] ( int  r)
inline

◆ operator[]() [2/2]

template<class F , int dimD, int dimR>
const ThisLFETensor & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::operator[] ( int  r) const
inline

◆ tensor() [1/4]

template<class F , int dimD, int dimR>
Dune::FieldVector< LFETensor< F, dimD, 0 >, dimR > & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::tensor ( )
inline

◆ tensor() [2/4]

template<class F , int dimD, int dimR>
template<int dorder>
const Dune::FieldVector< LFETensor< F, dimD, 0 >, dimR > & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::tensor ( ) const
inline

◆ tensor() [3/4]

template<class F , int dimD, int dimR>
Dune::FieldVector< LFETensor< F, dimD, 0 >, dimR > & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::tensor ( const std::integral_constant< int, 0 > &  dorderVar)
inlineprotected

◆ tensor() [4/4]

template<class F , int dimD, int dimR>
const Dune::FieldVector< LFETensor< F, dimD, 0 >, dimR > & Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::tensor ( const std::integral_constant< int, 0 > &  dorderVar) const
inlineprotected

Member Data Documentation

◆ dimDomain

template<class F , int dimD, int dimR>
const unsigned int Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::dimDomain = dimD
static

◆ dimRange

template<class F , int dimD, int dimR>
const unsigned int Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::dimRange = dimR
static

◆ layout

template<class F , int dimD, int dimR>
const DerivativeLayoutNS::DerivativeLayout Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::layout = DerivativeLayoutNS::value
static

◆ size

template<class F , int dimD, int dimR>
constexpr int Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::size = ThisLFETensor::size*dimR
staticconstexpr

◆ tensor_

template<class F , int dimD, int dimR>
Dune::FieldVector<ThisLFETensor,dimR> Dune::Derivatives< F, dimD, dimR, 0, DerivativeLayoutNS::value >::tensor_
protected

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