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

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

#include <SotSolver.h>

Public Member Functions

 CopyData (const unsigned int n_target_points)
 

Public Attributes

double functional_value {0.0}
 The value of the functional on the current cell.
 
Vector< double > gradient_values
 The local contribution to the gradient.
 
Vector< double > potential_values
 The potential values at the target points.
 
double local_C_sum = 0.0
 The sum of the scale terms for this cell.
 
Vector< double > barycenters_values
 The barycenter values for the current cell.
 

Detailed Description

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

A struct to hold copy data for parallel assembly.

Definition at line 154 of file SotSolver.h.

Constructor & Destructor Documentation

◆ CopyData()

template<int dim, int spacedim = dim>
SotSolver< dim, spacedim >::CopyData::CopyData ( const unsigned int  n_target_points)
inline

Definition at line 162 of file SotSolver.h.

Member Data Documentation

◆ functional_value

template<int dim, int spacedim = dim>
double SotSolver< dim, spacedim >::CopyData::functional_value {0.0}

The value of the functional on the current cell.

Definition at line 155 of file SotSolver.h.

◆ gradient_values

template<int dim, int spacedim = dim>
Vector<double> SotSolver< dim, spacedim >::CopyData::gradient_values

The local contribution to the gradient.

Definition at line 156 of file SotSolver.h.

◆ potential_values

template<int dim, int spacedim = dim>
Vector<double> SotSolver< dim, spacedim >::CopyData::potential_values

The potential values at the target points.

Definition at line 157 of file SotSolver.h.

◆ local_C_sum

template<int dim, int spacedim = dim>
double SotSolver< dim, spacedim >::CopyData::local_C_sum = 0.0

The sum of the scale terms for this cell.

Definition at line 158 of file SotSolver.h.

◆ barycenters_values

template<int dim, int spacedim = dim>
Vector<double> SotSolver< dim, spacedim >::CopyData::barycenters_values

The barycenter values for the current cell.

Definition at line 160 of file SotSolver.h.


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