Doxygen API reference documentation for ideal.II
Public Member Functions | Public Attributes | List of all members
idealii::spacetime::FEValues< dim > Class Template Reference

Evaluation of the tensor-product space-time basis functions. More...

#include <spacetime_fe_values.hh>

Public Member Functions

 FEValues (DG_FiniteElement< dim > &fe, Quadrature< dim > &quad, const dealii::UpdateFlags uflags)
 Constructor of the FEValues class. More...
 
void reinit_space (const typename dealii::TriaIterator< dealii::DoFCellAccessor< dim, dim, false >> &cell_space)
 Reinitialize all objects of the underlying spatial FEValues object. This function calls reinit(cell_space) of the spatial FEValues object. More...
 
void reinit_time (const typename dealii::TriaIterator< dealii::DoFCellAccessor< 1, 1, false >> &cell_time)
 Reinitialize all objects of the underlying temporal FEValues object. This function calls reinit(cell_time) of the temporal FEValues object. More...
 
double shape_value (unsigned int function_no, unsigned int point_no)
 Value of the space-time shape function at spacetime-quadrature point. More...
 
double shape_dt (unsigned int function_no, unsigned int point_no)
 Temporal derivative of the space-time shape function at spacetime-quadrature point. More...
 
dealii::Tensor< 1, dim > shape_space_grad (unsigned int function_no, unsigned int point_no)
 Spatial derivative of the space-time shape function at spacetime-quadrature point. More...
 
template<class InputVector >
void get_function_values (const InputVector &fe_function, std::vector< dealii::Vector< typename InputVector::value_type >> &values) const
 Function values of a given vector at all quadrature points @in fe_function @out values.
 
template<class InputVector >
void get_function_dt (const InputVector &fe_function, std::vector< dealii::Vector< typename InputVector::value_type >> &values) const
 Function values of a given vector at all quadrature points @in fe_function @out values.
 
template<class InputVector >
void get_function_space_gradients (const InputVector &fe_function, std::vector< std::vector< dealii::Tensor< 1, dim, typename InputVector::value_type >>> &gradients) const
 Spatial function gradients of a given vector at all quadrature points @in fe_function @out values.
 
dealii::FEValuesViews::Scalar< dim >::value_type scalar_value (const typename dealii::FEValuesExtractors::Scalar &extractor, unsigned int function_no, unsigned int point_no)
 Value of the space-time shape function of a scalar finite element component. More...
 
dealii::FEValuesViews::Scalar< dim >::value_type scalar_dt (const typename dealii::FEValuesExtractors::Scalar &extractor, unsigned int function_no, unsigned int point_no)
 Temporal derivative of the space-time shape function of a scalar finite element component. More...
 
dealii::FEValuesViews::Scalar< dim >::gradient_type scalar_space_grad (const typename dealii::FEValuesExtractors::Scalar &extractor, unsigned int function_no, unsigned int point_no)
 Spatial derivative of the space-time shape function of a scalar finite element component. More...
 
dealii::FEValuesViews::Vector< dim >::value_type vector_value (const typename dealii::FEValuesExtractors::Vector &extractor, unsigned int function_no, unsigned int point_no)
 Value of the space-time shape function of a vector-valued finite element component. More...
 
dealii::FEValuesViews::Vector< dim >::value_type vector_dt (const typename dealii::FEValuesExtractors::Vector &extractor, unsigned int function_no, unsigned int point_no)
 Temporal derivative of the space-time shape function of a vector-valued finite element component. More...
 
dealii::FEValuesViews::Vector< dim >::divergence_type vector_divergence (const typename dealii::FEValuesExtractors::Vector &extractor, unsigned int function_no, unsigned int point_no)
 Spatial divergence of the space-time shape function of a vector-valued finite element component. More...
 
dealii::FEValuesViews::Vector< dim >::gradient_type vector_space_grad (const typename dealii::FEValuesExtractors::Vector &extractor, unsigned int function_no, unsigned int point_no)
 Spatial gradient of the space-time shape function of a vector-valued finite element component. More...
 
dealii::FEValuesViews::Vector< dim >::curl_type vector_space_curl (const typename dealii::FEValuesExtractors::Vector &extractor, unsigned int function_no, unsigned int point_no)
 Spatial curl of the space-time shape function of a vector-valued finite element component. More...
 
double time_quadrature_point (unsigned int quadrature_point)
 Get the temporal quadrature point of the given space-time quadrature index. More...
 
dealii::Point< dim > space_quadrature_point (unsigned int quadrature_point)
 Get the spatial quadrature point of the given space-time quadrature index. More...
 
double JxW (const unsigned int quadrature_point)
 Mapped space-time quadrature weight. More...
 
void get_local_dof_indices (std::vector< dealii::types::global_dof_index > &indices)
 Local space-time DoF indices of the current space-time element. More...
 
std::shared_ptr< dealii::FEValues< dim > > spatial ()
 The underlying spatial FEValues object. More...
 
std::shared_ptr< dealii::FEValues< 1 > > temporal ()
 The underlying temporal FEValues object. More...
 

Public Attributes

unsigned int n_quadrature_points
 Number of space-time quadrature points per element.
 

Detailed Description

template<int dim>
class idealii::spacetime::FEValues< dim >

Evaluation of the tensor-product space-time basis functions.

This class supplies common derivatives of the space-time basis functions by multiplying the corresponding spatial and temporal basis functions in the given quadrature points.

In practice spatial derivatives are handled by the underlying spatial dealii::FEValues object and temporal derivatives are handled by the underlying temporal dealii::FEValues.

Constructor & Destructor Documentation

◆ FEValues()

template<int dim>
idealii::spacetime::FEValues< dim >::FEValues ( DG_FiniteElement< dim > &  fe,
Quadrature< dim > &  quad,
const dealii::UpdateFlags  uflags 
)

Constructor of the FEValues class.

Parameters
feThe underlying space-time finite element description class.
quadThe space-time quadrature formula to be used.
uflagsThe update flags to be used during the reinit calls.

Member Function Documentation

◆ get_local_dof_indices()

template<int dim>
void idealii::spacetime::FEValues< dim >::get_local_dof_indices ( std::vector< dealii::types::global_dof_index > &  indices)

Local space-time DoF indices of the current space-time element.

Parameters
Avector of indices to save the result to.

◆ JxW()

template<int dim>
double idealii::spacetime::FEValues< dim >::JxW ( const unsigned int  quadrature_point)

Mapped space-time quadrature weight.

Parameters
quadrature_pointspace-time quadrature index.

◆ reinit_space()

template<int dim>
void idealii::spacetime::FEValues< dim >::reinit_space ( const typename dealii::TriaIterator< dealii::DoFCellAccessor< dim, dim, false >> &  cell_space)

Reinitialize all objects of the underlying spatial FEValues object. This function calls reinit(cell_space) of the spatial FEValues object.

Parameters
cell_spaceIterator pointing to the current element in space.

◆ reinit_time()

template<int dim>
void idealii::spacetime::FEValues< dim >::reinit_time ( const typename dealii::TriaIterator< dealii::DoFCellAccessor< 1, 1, false >> &  cell_time)

Reinitialize all objects of the underlying temporal FEValues object. This function calls reinit(cell_time) of the temporal FEValues object.

Parameters
cell_timeIterator pointing to the current element in time.

◆ scalar_dt()

template<int dim>
dealii::FEValuesViews::Scalar<dim>::value_type idealii::spacetime::FEValues< dim >::scalar_dt ( const typename dealii::FEValuesExtractors::Scalar &  extractor,
unsigned int  function_no,
unsigned int  point_no 
)

Temporal derivative of the space-time shape function of a scalar finite element component.

This function passes the extractor to the underlying spatial FEValues object and then calls the value function of the resulting view.

Parameters
extractorScalar extractor defining the scalar finite element component to be evaluated.
function_noThe number of the space-time function/dof to be evaluated.
point_noThe number of the quadrature point to evaluate at.

◆ scalar_space_grad()

template<int dim>
dealii::FEValuesViews::Scalar<dim>::gradient_type idealii::spacetime::FEValues< dim >::scalar_space_grad ( const typename dealii::FEValuesExtractors::Scalar &  extractor,
unsigned int  function_no,
unsigned int  point_no 
)

Spatial derivative of the space-time shape function of a scalar finite element component.

This function passes the extractor to the underlying spatial FEValues object and then calls the gradient function of the resulting view.

Parameters
extractorScalar extractor defining the scalar finite element component to be evaluated.
function_noThe number of the space-time function/dof to be evaluated.
point_noThe number of the quadrature point to evaluate at.

◆ scalar_value()

template<int dim>
dealii::FEValuesViews::Scalar<dim>::value_type idealii::spacetime::FEValues< dim >::scalar_value ( const typename dealii::FEValuesExtractors::Scalar &  extractor,
unsigned int  function_no,
unsigned int  point_no 
)

Value of the space-time shape function of a scalar finite element component.

This function passes the extractor to the underlying spatial FEValues object and then calls the value function of the resulting view.

Parameters
extractorScalar extractor defining the scalar finite element component to be evaluated.
function_noThe number of the space-time function/dof to be evaluated.
point_noThe number of the quadrature point to evaluate at.

◆ shape_dt()

template<int dim>
double idealii::spacetime::FEValues< dim >::shape_dt ( unsigned int  function_no,
unsigned int  point_no 
)

Temporal derivative of the space-time shape function at spacetime-quadrature point.

Parameters
function_noThe number of the space-time function/dof to be evaluated.
point_noThe number of the quadrature point to evaluate at.

◆ shape_space_grad()

template<int dim>
dealii::Tensor<1, dim> idealii::spacetime::FEValues< dim >::shape_space_grad ( unsigned int  function_no,
unsigned int  point_no 
)

Spatial derivative of the space-time shape function at spacetime-quadrature point.

Parameters
function_noThe number of the space-time function/dof to be evaluated.
point_noThe number of the quadrature point to evaluate at.

◆ shape_value()

template<int dim>
double idealii::spacetime::FEValues< dim >::shape_value ( unsigned int  function_no,
unsigned int  point_no 
)

Value of the space-time shape function at spacetime-quadrature point.

Parameters
function_noThe number of the space-time function/dof to be evaluated.
point_noThe number of the quadrature point to evaluate at.

◆ space_quadrature_point()

template<int dim>
dealii::Point<dim> idealii::spacetime::FEValues< dim >::space_quadrature_point ( unsigned int  quadrature_point)

Get the spatial quadrature point of the given space-time quadrature index.

Parameters
quadrature_pointspace-time quadrature index.

◆ spatial()

template<int dim>
std::shared_ptr<dealii::FEValues<dim> > idealii::spacetime::FEValues< dim >::spatial ( )

The underlying spatial FEValues object.

Returns
A shared pointer to the spatial FEValues object.

◆ temporal()

template<int dim>
std::shared_ptr<dealii::FEValues<1> > idealii::spacetime::FEValues< dim >::temporal ( )

The underlying temporal FEValues object.

Returns
A shared pointer to the temporal FEValues object.

◆ time_quadrature_point()

template<int dim>
double idealii::spacetime::FEValues< dim >::time_quadrature_point ( unsigned int  quadrature_point)

Get the temporal quadrature point of the given space-time quadrature index.

Parameters
quadrature_pointspace-time quadrature index.

◆ vector_divergence()

template<int dim>
dealii::FEValuesViews::Vector<dim>::divergence_type idealii::spacetime::FEValues< dim >::vector_divergence ( const typename dealii::FEValuesExtractors::Vector &  extractor,
unsigned int  function_no,
unsigned int  point_no 
)

Spatial divergence of the space-time shape function of a vector-valued finite element component.

This function passes the extractor to the underlying spatial FEValues object and then calls the value function of the resulting view.

Parameters
extractorScalar extractor defining the scalar finite element component to be evaluated.
function_noThe number of the space-time function/dof to be evaluated.
point_noThe number of the quadrature point to evaluate at.

◆ vector_dt()

template<int dim>
dealii::FEValuesViews::Vector<dim>::value_type idealii::spacetime::FEValues< dim >::vector_dt ( const typename dealii::FEValuesExtractors::Vector &  extractor,
unsigned int  function_no,
unsigned int  point_no 
)

Temporal derivative of the space-time shape function of a vector-valued finite element component.

This function passes the extractor to the underlying spatial FEValues object and then calls the value function of the resulting view.

Parameters
extractorScalar extractor defining the scalar finite element component to be evaluated.
function_noThe number of the space-time function/dof to be evaluated.
point_noThe number of the quadrature point to evaluate at.

◆ vector_space_curl()

template<int dim>
dealii::FEValuesViews::Vector<dim>::curl_type idealii::spacetime::FEValues< dim >::vector_space_curl ( const typename dealii::FEValuesExtractors::Vector &  extractor,
unsigned int  function_no,
unsigned int  point_no 
)

Spatial curl of the space-time shape function of a vector-valued finite element component.

This function passes the extractor to the underlying spatial FEValues object and then calls the curl function of the resulting view.

Parameters
extractorVector extractor defining the vector finite element component to be evaluated.
function_noThe number of the space-time function/dof to be evaluated.
point_noThe number of the quadrature point to evaluate at.

◆ vector_space_grad()

template<int dim>
dealii::FEValuesViews::Vector<dim>::gradient_type idealii::spacetime::FEValues< dim >::vector_space_grad ( const typename dealii::FEValuesExtractors::Vector &  extractor,
unsigned int  function_no,
unsigned int  point_no 
)

Spatial gradient of the space-time shape function of a vector-valued finite element component.

This function passes the extractor to the underlying spatial FEValues object and then calls the gradient function of the resulting view.

Parameters
extractorVector extractor defining the vector finite element component to be evaluated.
function_noThe number of the space-time function/dof to be evaluated.
point_noThe number of the quadrature point to evaluate at.

◆ vector_value()

template<int dim>
dealii::FEValuesViews::Vector<dim>::value_type idealii::spacetime::FEValues< dim >::vector_value ( const typename dealii::FEValuesExtractors::Vector &  extractor,
unsigned int  function_no,
unsigned int  point_no 
)

Value of the space-time shape function of a vector-valued finite element component.

This function passes the extractor to the underlying spatial FEValues object and then calls the value function of the resulting view.

Parameters
extractorScalar extractor defining the scalar finite element component to be evaluated.
function_noThe number of the space-time function/dof to be evaluated.
point_noThe number of the quadrature point to evaluate at.

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