Flow123d  JB-rel-int-test-d1b4358
Public Member Functions | Private Attributes | List of all members
FEValuesViews::Scalar< spacedim > Class Template Reference

#include <fe_values_views.hh>

Collaboration diagram for FEValuesViews::Scalar< spacedim >:
Collaboration graph
[legend]

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

◆ Scalar()

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

◆ base()

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

Returns the FEValues class.

Definition at line 44 of file fe_values_views.cc.

◆ grad()

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.

◆ value()

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.

Member Data Documentation

◆ component_

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.

◆ fe_values_

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: