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

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

Public Types

enum  { size = ThisLFETensor::size*dimR }
 
typedef Derivatives< F, dimD,
dimR, 0, value
This
 
typedef LFETensor< F, dimD, 0 > ThisLFETensor
 
typedef F Field
 
typedef F field_type
 
typedef Dune::FieldVector< F,
size
Block
 

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, value > &y)
 
template<class Fy >
void assign (const Derivatives< Fy, dimD, dimR, 0, derivative > &y)
 
template<class Fy , int dimRy>
void assign (const Derivatives< Fy, dimD, dimRy, 0, value > &y, unsigned int r)
 
template<class Fy >
void assign (unsigned int r, const Derivatives< Fy, dimD, 1, 0, value > &y)
 
template<class Fy >
void assign (unsigned int r, const Derivatives< Fy, dimD, 1, 0, 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 DerivativeLayout layout = value
 
static const unsigned int dimDomain = dimD
 
static const unsigned int dimRange = dimR
 

Protected Member Functions

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

template<class F , int dimD, int dimR>
typedef Dune::FieldVector<F,size> Dune::Derivatives< F, dimD, dimR, 0, value >::Block
template<class F , int dimD, int dimR>
typedef F Dune::Derivatives< F, dimD, dimR, 0, value >::Field
template<class F , int dimD, int dimR>
typedef F Dune::Derivatives< F, dimD, dimR, 0, value >::field_type
template<class F , int dimD, int dimR>
typedef Derivatives<F,dimD,dimR,0,value> Dune::Derivatives< F, dimD, dimR, 0, value >::This
template<class F , int dimD, int dimR>
typedef LFETensor<F,dimD,0> Dune::Derivatives< F, dimD, dimR, 0, value >::ThisLFETensor

Member Enumeration Documentation

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

Member Function Documentation

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

References Dune::field_cast().

template<class F , int dimD, int dimR>
template<class Fy >
void Dune::Derivatives< F, dimD, dimR, 0, value >::assign ( const Derivatives< Fy, dimD, dimR, 0, derivative > &  y)
inline
template<class F , int dimD, int dimR>
template<class Fy , int dimRy>
void Dune::Derivatives< F, dimD, dimR, 0, value >::assign ( const Derivatives< Fy, dimD, dimRy, 0, value > &  y,
unsigned int  r 
)
inline
template<class F , int dimD, int dimR>
template<class Fy >
void Dune::Derivatives< F, dimD, dimR, 0, value >::assign ( unsigned int  r,
const Derivatives< Fy, dimD, 1, 0, value > &  y 
)
inline
template<class F , int dimD, int dimR>
template<class Fy >
void Dune::Derivatives< F, dimD, dimR, 0, value >::assign ( unsigned int  r,
const Derivatives< Fy, dimD, 1, 0, derivative > &  y 
)
inline
template<class F , int dimD, int dimR>
template<class Fy , unsigned int dy>
void Dune::Derivatives< F, dimD, dimR, 0, value >::assign ( const Derivatives< Fy, dimD, dimR, dy, derivative > &  y)
inlineprotected
template<class F , int dimD, int dimR>
template<class Fy , int dimRy>
void Dune::Derivatives< F, dimD, dimR, 0, value >::assign ( const FieldVector< Fy, size *dimRy > &  y,
unsigned int  r 
)
inlineprotected
template<class F , int dimD, int dimR>
template<class Fy >
void Dune::Derivatives< F, dimD, dimR, 0, value >::assign ( unsigned int  r,
const FieldVector< Fy, size/dimR > &  y 
)
inlineprotected
template<class F , int dimD, int dimR>
void Dune::Derivatives< F, dimD, dimR, 0, value >::axpy ( const F &  a,
const This y 
)
inline

References axpy(), and block().

Referenced by axpy().

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

Referenced by axpy().

template<class F , int dimD, int dimR>
const Block& Dune::Derivatives< F, dimD, dimR, 0, value >::block ( ) const
inline
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, value >::block ( ) const
inline
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, value >::block ( )
inline
template<class F , int dimD, int dimR>
This& Dune::Derivatives< F, dimD, dimR, 0, value >::operator*= ( const field_type f)
inline
template<class F , int dimD, int dimR>
template<class FF >
This& Dune::Derivatives< F, dimD, dimR, 0, value >::operator= ( const FF &  f)
inline
template<class F , int dimD, int dimR>
This& Dune::Derivatives< F, dimD, dimR, 0, value >::operator= ( const Dune::FieldVector< ThisLFETensor, dimR > &  t)
inline
template<class F , int dimD, int dimR>
This& Dune::Derivatives< F, dimD, dimR, 0, value >::operator= ( const Block t)
inline
template<class F , int dimD, int dimR>
ThisLFETensor& Dune::Derivatives< F, dimD, dimR, 0, value >::operator[] ( int  r)
inline
template<class F , int dimD, int dimR>
const ThisLFETensor& Dune::Derivatives< F, dimD, dimR, 0, value >::operator[] ( int  r) const
inline
template<class F , int dimD, int dimR>
template<int dorder>
const Dune::FieldVector<LFETensor<F,dimD,0>,dimR>& Dune::Derivatives< F, dimD, dimR, 0, value >::tensor ( ) const
inline
template<class F , int dimD, int dimR>
Dune::FieldVector<LFETensor<F,dimD,0>,dimR>& Dune::Derivatives< F, dimD, dimR, 0, value >::tensor ( )
inline
template<class F , int dimD, int dimR>
const Dune::FieldVector<LFETensor<F,dimD,0>,dimR>& Dune::Derivatives< F, dimD, dimR, 0, value >::tensor ( const integral_constant< int, 0 > &  dorderVar) const
inlineprotected
template<class F , int dimD, int dimR>
Dune::FieldVector<LFETensor<F,dimD,0>,dimR>& Dune::Derivatives< F, dimD, dimR, 0, value >::tensor ( const integral_constant< int, 0 > &  dorderVar)
inlineprotected

Member Data Documentation

template<class F , int dimD, int dimR>
const unsigned int Dune::Derivatives< F, dimD, dimR, 0, value >::dimDomain = dimD
static
template<class F , int dimD, int dimR>
const unsigned int Dune::Derivatives< F, dimD, dimR, 0, value >::dimRange = dimR
static
template<class F , int dimD, int dimR>
const DerivativeLayout Dune::Derivatives< F, dimD, dimR, 0, value >::layout = value
static
template<class F , int dimD, int dimR>
Dune::FieldVector<ThisLFETensor,dimR> Dune::Derivatives< F, dimD, dimR, 0, value >::tensor_
protected

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