SemiDiscreteOT 1.0
Semi-Discrete Optimal Transport Library
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SotSolver< dim, spacedim >::ScratchData Struct Reference

A struct to hold scratch data for parallel assembly. More...

#include <SotSolver.h>

Public Member Functions

 ScratchData (const FiniteElement< dim, spacedim > &fe, const Mapping< dim, spacedim > &mapping, const Quadrature< dim > &quadrature)
 
 ScratchData (const ScratchData &other)
 

Public Attributes

FEValues< dim, spacedim > fe_values
 FEValues object for the current cell.
 
std::vector< double > density_values
 The density values at the quadrature points of the current cell.
 

Detailed Description

template<int dim, int spacedim = dim>
struct SotSolver< dim, spacedim >::ScratchData

A struct to hold scratch data for parallel assembly.

Definition at line 132 of file SotSolver.h.

Constructor & Destructor Documentation

◆ ScratchData() [1/2]

template<int dim, int spacedim = dim>
SotSolver< dim, spacedim >::ScratchData::ScratchData ( const FiniteElement< dim, spacedim > &  fe,
const Mapping< dim, spacedim > &  mapping,
const Quadrature< dim > &  quadrature 
)
inline

Definition at line 133 of file SotSolver.h.

◆ ScratchData() [2/2]

template<int dim, int spacedim = dim>
SotSolver< dim, spacedim >::ScratchData::ScratchData ( const ScratchData other)
inline

Definition at line 140 of file SotSolver.h.

Member Data Documentation

◆ fe_values

template<int dim, int spacedim = dim>
FEValues<dim, spacedim> SotSolver< dim, spacedim >::ScratchData::fe_values

FEValues object for the current cell.

Definition at line 147 of file SotSolver.h.

◆ density_values

template<int dim, int spacedim = dim>
std::vector<double> SotSolver< dim, spacedim >::ScratchData::density_values

The density values at the quadrature points of the current cell.

Definition at line 148 of file SotSolver.h.


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