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

A struct to hold all the necessary information about the source measure. More...

#include <SotSolver.h>

Public Member Functions

 SourceMeasure ()=default
 
 SourceMeasure (const DoFHandler< dim, spacedim > &dof_handler_, const Mapping< dim, spacedim > &mapping_, const FiniteElement< dim, spacedim > &fe_, const LinearAlgebra::distributed::Vector< double, MemorySpace::Host > &density_, const unsigned int quadrature_order_)
 Constructor for the SourceMeasure struct.
 

Public Attributes

bool initialized = false
 Flag to check if source measure is set up.
 
SmartPointer< const DoFHandler< dim, spacedim > > dof_handler
 Pointer to the DoF handler for the source mesh.
 
SmartPointer< const Mapping< dim, spacedim > > mapping
 Pointer to the mapping for the source mesh.
 
SmartPointer< const FiniteElement< dim, spacedim > > fe
 Pointer to the finite element for the source mesh.
 
SmartPointer< const LinearAlgebra::distributed::Vector< double, MemorySpace::Host > > density
 Pointer to the density vector of the source measure.
 
unsigned int quadrature_order
 The order of the quadrature rule to use for integration.
 

Detailed Description

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

A struct to hold all the necessary information about the source measure.

Definition at line 66 of file SotSolver.h.

Constructor & Destructor Documentation

◆ SourceMeasure() [1/2]

template<int dim, int spacedim = dim>
SotSolver< dim, spacedim >::SourceMeasure::SourceMeasure ( )
default

◆ SourceMeasure() [2/2]

template<int dim, int spacedim = dim>
SotSolver< dim, spacedim >::SourceMeasure::SourceMeasure ( const DoFHandler< dim, spacedim > &  dof_handler_,
const Mapping< dim, spacedim > &  mapping_,
const FiniteElement< dim, spacedim > &  fe_,
const LinearAlgebra::distributed::Vector< double, MemorySpace::Host > &  density_,
const unsigned int  quadrature_order_ 
)
inline

Constructor for the SourceMeasure struct.

Definition at line 78 of file SotSolver.h.

Member Data Documentation

◆ initialized

template<int dim, int spacedim = dim>
bool SotSolver< dim, spacedim >::SourceMeasure::initialized = false

Flag to check if source measure is set up.

Definition at line 67 of file SotSolver.h.

◆ dof_handler

template<int dim, int spacedim = dim>
SmartPointer<const DoFHandler<dim, spacedim> > SotSolver< dim, spacedim >::SourceMeasure::dof_handler

Pointer to the DoF handler for the source mesh.

Definition at line 68 of file SotSolver.h.

◆ mapping

template<int dim, int spacedim = dim>
SmartPointer<const Mapping<dim, spacedim> > SotSolver< dim, spacedim >::SourceMeasure::mapping

Pointer to the mapping for the source mesh.

Definition at line 69 of file SotSolver.h.

◆ fe

template<int dim, int spacedim = dim>
SmartPointer<const FiniteElement<dim, spacedim> > SotSolver< dim, spacedim >::SourceMeasure::fe

Pointer to the finite element for the source mesh.

Definition at line 70 of file SotSolver.h.

◆ density

template<int dim, int spacedim = dim>
SmartPointer<const LinearAlgebra::distributed::Vector<double, MemorySpace::Host> > SotSolver< dim, spacedim >::SourceMeasure::density

Pointer to the density vector of the source measure.

Definition at line 71 of file SotSolver.h.

◆ quadrature_order

template<int dim, int spacedim = dim>
unsigned int SotSolver< dim, spacedim >::SourceMeasure::quadrature_order

The order of the quadrature rule to use for integration.

Definition at line 72 of file SotSolver.h.


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