Flow123d  JS_before_hm-1621-g63a12c7
Public Member Functions | Private Attributes | List of all members
FEValuesViews::Scalar< spacedim > Class Template Reference

#include <fe_values_views.hh>

Public Member Functions

 Scalar (const FEValues< spacedim > &fe_values, unsigned int component)
 
double value (unsigned int function_no, unsigned int point_no) const
 Return value of scalar shape function. More...
 
arma::vec::fixed< spacedim > grad (unsigned int function_no, unsigned int point_no) const
 Return gradient of scalar shape function. More...
 
const FEValues< spacedim > & base () const
 Returns the FEValues class. More...
 

Private Attributes

const FEValues< spacedim > & fe_values_
 Base FEValues class for access to the FE. More...
 
unsigned int component_
 Index of the scalar component. More...
 

Detailed Description

template<unsigned int spacedim = 3>
class FEValuesViews::Scalar< spacedim >

Definition at line 38 of file fe_values_views.hh.

Constructor & Destructor Documentation

template<unsigned int spacedim = 3>
FEValuesViews::Scalar< spacedim >::Scalar ( const FEValues< spacedim > &  fe_values,
unsigned int  component 
)
inline

Definition at line 42 of file fe_values_views.hh.

Member Function Documentation

template<unsigned int spacedim>
const FEValues< spacedim > & FEValuesViews::Scalar< spacedim >::base ( ) const

Returns the FEValues class.

Definition at line 44 of file fe_values_views.cc.

Here is the caller graph for this function:

template<unsigned int spacedim>
arma::vec::fixed< spacedim > FEValuesViews::Scalar< spacedim >::grad ( unsigned int  function_no,
unsigned int  point_no 
) const

Return gradient of scalar shape function.

Parameters
function_noIndex of shape function within the FE.
point_noIndex of quadrature point.

Definition at line 36 of file fe_values_views.cc.

Here is the caller graph for this function:

template<unsigned int spacedim>
double FEValuesViews::Scalar< spacedim >::value ( unsigned int  function_no,
unsigned int  point_no 
) const

Return value of scalar shape function.

Parameters
function_noIndex of shape function within the FE.
point_noIndex of quadrature point.

Definition at line 28 of file fe_values_views.cc.

Here is the caller graph for this function:

Member Data Documentation

template<unsigned int spacedim = 3>
unsigned int FEValuesViews::Scalar< spacedim >::component_
private

Index of the scalar component.

Definition at line 70 of file fe_values_views.hh.

template<unsigned int spacedim = 3>
const FEValues<spacedim>& FEValuesViews::Scalar< spacedim >::fe_values_
private

Base FEValues class for access to the FE.

Definition at line 67 of file fe_values_views.hh.


The documentation for this class was generated from the following files: