Reference documentation for deal.II version Git d902c8c1aa 2019-12-15 00:36:45 -0500
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Attributes | List of all members
DataPostprocessorInputs::Scalar< spacedim > Struct Template Reference

#include <deal.II/numerics/data_postprocessor.h>

Inheritance diagram for DataPostprocessorInputs::Scalar< spacedim >:
[legend]

Public Attributes

std::vector< double > solution_values
 
std::vector< Tensor< 1, spacedim > > solution_gradients
 
std::vector< Tensor< 2, spacedim > > solution_hessians
 
- Public Attributes inherited from DataPostprocessorInputs::CommonInputs< spacedim >
std::vector< Tensor< 1, spacedim > > normals
 
std::vector< Point< spacedim > > evaluation_points
 

Additional Inherited Members

- Public Member Functions inherited from DataPostprocessorInputs::CommonInputs< spacedim >
template<typename DoFHandlerType >
void set_cell (const typename DoFHandlerType::cell_iterator &cell)
 
template<typename DoFHandlerType >
DoFHandlerType::cell_iterator get_cell () const
 

Detailed Description

template<int spacedim>
struct DataPostprocessorInputs::Scalar< spacedim >

A structure that is used to pass information to DataPostprocessor::evaluate_scalar_field(). It contains the values and (if requested) derivatives of a scalar solution variable at the evaluation points on a cell or face. (This class is not used if a scalar solution is complex-valued, however, since in that case the real and imaginary parts are treated separately – resulting in vector-valued inputs to data postprocessors, which are then passed to DataPostprocessor::evaluate_vector_field() instead.)

Through the fields in the CommonInputs base class, this class also makes available access to the locations of evaluations points, normal vectors (if appropriate), and which cell data is currently being evaluated on (also if appropriate).

Author
Wolfgang Bangerth, 2016

Definition at line 238 of file data_postprocessor.h.

Member Data Documentation

◆ solution_values

template<int spacedim>
std::vector<double> DataPostprocessorInputs::Scalar< spacedim >::solution_values

An array of values of the (scalar) solution at each of the evaluation points used to create graphical output from one cell, face, or other object.

Definition at line 245 of file data_postprocessor.h.

◆ solution_gradients

template<int spacedim>
std::vector<Tensor<1, spacedim> > DataPostprocessorInputs::Scalar< spacedim >::solution_gradients

An array of gradients of the (scalar) solution at each of the evaluation points used to create graphical output from one cell, face, or other object.

This array is only filled if a user-derived class overloads the DataPostprocessor::get_needed_update_flags(), and the function returns (possibly among other flags) UpdateFlags::update_gradients. Alternatively, a class derived from DataPostprocessorScalar, DataPostprocessorVector, or DataPostprocessorTensor may pass this flag to the constructor of these three classes.

Definition at line 260 of file data_postprocessor.h.

◆ solution_hessians

template<int spacedim>
std::vector<Tensor<2, spacedim> > DataPostprocessorInputs::Scalar< spacedim >::solution_hessians

An array of second derivatives of the (scalar) solution at each of the evaluation points used to create graphical output from one cell, face, or other object.

This array is only filled if a user-derived class overloads the DataPostprocessor::get_needed_update_flags(), and the function returns (possibly among other flags) UpdateFlags::update_hessians. Alternatively, a class derived from DataPostprocessorScalar, DataPostprocessorVector, or DataPostprocessorTensor may pass this flag to the constructor of these three classes.

Definition at line 275 of file data_postprocessor.h.


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