dune-localfunctions  2.5-git
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Dune::Derivatives< F, dimD, dimR, deriv, value > Struct Template Reference

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

Inheritance diagram for Dune::Derivatives< F, dimD, dimR, deriv, value >:
Inheritance graph

Public Types

enum  { size = Base::size+ThisLFETensor::size*dimR }
 
typedef Derivatives< F, dimD, dimR, deriv, valueThis
 
typedef Derivatives< F, dimD, dimR, deriv-1, valueBase
 
typedef LFETensor< F, dimD, deriv > ThisLFETensor
 
typedef F Field
 
typedef F field_type
 
typedef Dune::FieldVector< F, sizeBlock
 

Public Member Functions

Thisoperator= (const F &f)
 
Thisoperator= (const Dune::FieldVector< ThisLFETensor, dimR > &t)
 
template<unsigned int dorder>
Thisoperator= (const Dune::FieldVector< LFETensor< F, dimD, dorder >, 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, deriv, value > &y)
 
template<class Fy >
void assign (const Derivatives< Fy, dimD, dimR, deriv, derivative > &y)
 
template<class Fy , int dimRy>
void assign (const Derivatives< Fy, dimD, dimRy, deriv, value > &y, unsigned int r)
 
template<class Fy >
void assign (unsigned int r, const Derivatives< Fy, dimD, 1, deriv, value > &y)
 
template<class Fy >
void assign (unsigned int r, const Derivatives< Fy, dimD, 1, deriv, derivative > &y)
 
Blockblock ()
 
const Blockblock () const
 
template<unsigned int dorder>
const Dune::FieldVector< LFETensor< F, dimD, dorder >, dimR > & tensor () const
 
template<unsigned int dorder>
Dune::FieldVector< LFETensor< F, dimD, dorder >, 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 ()
 
ThisLFETensoroperator[] (int r)
 
const ThisLFETensoroperator[] (int r) const
 

Static Public Attributes

static const DerivativeLayout layout = value
 
static const unsigned int dimDomain = dimD
 
static const unsigned int dimRange = dimR
 

Protected Member Functions

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)
 
template<class Fy , unsigned int dy>
void assign (const Derivatives< Fy, dimD, dimR, dy, derivative > &y)
 
template<int dorder>
const Dune::FieldVector< LFETensor< F, dimD, dorder >, dimR > & tensor (const std::integral_constant< int, dorder > &dorderVar) const
 
const Dune::FieldVector< LFETensor< F, dimD, deriv >, dimR > & tensor (const std::integral_constant< int, deriv > &dorderVar) const
 
template<int dorder>
Dune::FieldVector< LFETensor< F, dimD, dorder >, dimR > & tensor (const std::integral_constant< int, dorder > &dorderVar)
 
Dune::FieldVector< LFETensor< F, dimD, deriv >, dimR > & tensor (const std::integral_constant< int, deriv > &dorderVar)
 

Protected Attributes

Dune::FieldVector< ThisLFETensor, dimR > tensor_
 

Member Typedef Documentation

§ Base

template<class F , int dimD, int dimR, unsigned int deriv>
typedef Derivatives<F,dimD,dimR,deriv-1,value> Dune::Derivatives< F, dimD, dimR, deriv, value >::Base

§ Block

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

§ Field

template<class F , int dimD, int dimR, unsigned int deriv>
typedef F Dune::Derivatives< F, dimD, dimR, deriv, value >::Field

§ field_type

template<class F , int dimD, int dimR, unsigned int deriv>
typedef F Dune::Derivatives< F, dimD, dimR, deriv, value >::field_type

§ This

template<class F , int dimD, int dimR, unsigned int deriv>
typedef Derivatives<F,dimD,dimR,deriv,value> Dune::Derivatives< F, dimD, dimR, deriv, value >::This

§ ThisLFETensor

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

Member Enumeration Documentation

§ anonymous enum

template<class F , int dimD, int dimR, unsigned int deriv>
anonymous enum
Enumerator
size 

Member Function Documentation

§ assign() [1/8]

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

§ assign() [2/8]

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

§ assign() [3/8]

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

§ assign() [4/8]

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

§ assign() [5/8]

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

§ assign() [6/8]

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

§ assign() [7/8]

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

§ assign() [8/8]

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

§ axpy()

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

§ block() [1/4]

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

§ block() [2/4]

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

§ block() [3/4]

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

§ block() [4/4]

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

§ operator*=()

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

§ operator=() [1/4]

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

§ operator=() [2/4]

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

§ operator=() [3/4]

template<class F , int dimD, int dimR, unsigned int deriv>
template<unsigned int dorder>
This& Dune::Derivatives< F, dimD, dimR, deriv, value >::operator= ( const Dune::FieldVector< LFETensor< F, dimD, dorder >, dimR > &  t)
inline

§ operator=() [4/4]

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

§ operator[]() [1/2]

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

§ operator[]() [2/2]

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

§ tensor() [1/6]

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

§ tensor() [2/6]

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

§ tensor() [3/6]

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

§ tensor() [4/6]

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

§ tensor() [5/6]

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

§ tensor() [6/6]

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

Member Data Documentation

§ dimDomain

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

§ dimRange

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

§ layout

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

§ tensor_

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

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