Flow123d  release_2.2.0-914-gf1a3a4f
Public Member Functions | Private Attributes | List of all members
FEValuesViews::Scalar< dim, spacedim > Class Template Reference

#include <fe_values_views.hh>

Public Member Functions

 Scalar (FEValuesBase< dim, 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...
 
FEValuesBase< dim, spacedim > & base () const
 Returns the FEValuesBase class. More...
 

Private Attributes

FEValuesBase< dim, 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 dim, unsigned int spacedim>
class FEValuesViews::Scalar< dim, spacedim >

Definition at line 38 of file fe_values_views.hh.

Constructor & Destructor Documentation

template<unsigned int dim, unsigned int spacedim>
FEValuesViews::Scalar< dim, spacedim >::Scalar ( FEValuesBase< dim, spacedim > &  fe_values,
unsigned int  component 
)
inline

Definition at line 42 of file fe_values_views.hh.

Member Function Documentation

template<unsigned int dim, unsigned int spacedim>
FEValuesBase< dim, spacedim > & FEValuesViews::Scalar< dim, spacedim >::base ( ) const

Returns the FEValuesBase class.

Definition at line 43 of file fe_values_views.cc.

Here is the caller graph for this function:

template<unsigned int dim, unsigned int spacedim>
arma::vec::fixed< spacedim > FEValuesViews::Scalar< dim, 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 35 of file fe_values_views.cc.

Here is the caller graph for this function:

template<unsigned int dim, unsigned int spacedim>
double FEValuesViews::Scalar< dim, 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 27 of file fe_values_views.cc.

Here is the caller graph for this function:

Member Data Documentation

template<unsigned int dim, unsigned int spacedim>
unsigned int FEValuesViews::Scalar< dim, spacedim >::component_
private

Index of the scalar component.

Definition at line 70 of file fe_values_views.hh.

template<unsigned int dim, unsigned int spacedim>
FEValuesBase<dim,spacedim>& FEValuesViews::Scalar< dim, 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: