Reference documentation for deal.II version 9.4.1
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
DataOutBase::Patch< 0, spacedim > Struct Template Reference

#include <deal.II/base/data_out_base.h>

Public Member Functions

 Patch ()
 
bool operator== (const Patch &patch) const
 
std::size_t memory_consumption () const
 
void swap (Patch< 0, spacedim > &other_patch)
 

Static Public Member Functions

static ::ExceptionBaseExcInvalidCombinationOfDimensions (int arg1, int arg2)
 

Public Attributes

Point< spacedim > vertices [1]
 
unsigned int patch_index
 
Table< 2, float > data
 
bool points_are_available
 

Static Public Attributes

static const unsigned int space_dim = spacedim
 
static unsigned int neighbors [1]
 
static const unsigned int n_subdivisions = 1
 
static const ReferenceCell reference_cell
 
static const unsigned int no_neighbor = numbers::invalid_unsigned_int
 

Detailed Description

template<int spacedim>
struct DataOutBase::Patch< 0, spacedim >

A specialization of the general Patch<dim,spacedim> template that is tailored to the case of points, i.e., zero-dimensional objects embedded in spacedim dimensional space.

The current class is compatible with the general template to allow for using the same functions accessing patches of arbitrary dimensionality in a generic way. However, it makes some variables that are nonsensical for zero-dimensional patches into static variables that exist only once in the entire program, as opposed to once per patch. Specifically, this is the case for the neighbors array and the n_subdivisions member variable that make no sense for zero-dimensional patches because points have no natural neighbors across their non-existent faces, nor can they reasonably be subdivided.

Definition at line 398 of file data_out_base.h.


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