Flow123d  DF_patch_fe_data_tables-956a7bc
Public Member Functions | Private Attributes | List of all members
FEValuesViews::Scalar< FV, spacedim > Class Template Reference

#include <fe_values_views.hh>

Public Member Functions

 Scalar (const FV &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 FV & base () const
 Returns the FEValues class. More...
 

Private Attributes

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

Detailed Description

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

Definition at line 38 of file fe_values_views.hh.

Constructor & Destructor Documentation

◆ Scalar()

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

Definition at line 42 of file fe_values_views.hh.

Member Function Documentation

◆ base()

template<class FV , unsigned int spacedim>
const FV & FEValuesViews::Scalar< FV, spacedim >::base

Returns the FEValues class.

Definition at line 44 of file fe_values_views.cc.

◆ grad()

template<class FV , unsigned int spacedim>
arma::vec::fixed< spacedim > FEValuesViews::Scalar< FV, 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.

◆ value()

template<class FV , unsigned int spacedim>
double FEValuesViews::Scalar< FV, 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.

Member Data Documentation

◆ component_

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

Index of the scalar component.

Definition at line 70 of file fe_values_views.hh.

◆ fe_values_

template<class FV , unsigned int spacedim = 3>
const FV& FEValuesViews::Scalar< FV, 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: