![]() |
SemiDiscreteOT 1.0
Semi-Discrete Optimal Transport Library
|
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. | |
A struct to hold all the necessary information about the source measure.
Definition at line 66 of file SotSolver.h.
|
default |
|
inline |
Constructor for the SourceMeasure struct.
Definition at line 78 of file SotSolver.h.
bool SotSolver< dim, spacedim >::SourceMeasure::initialized = false |
Flag to check if source measure is set up.
Definition at line 67 of file SotSolver.h.
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.
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.
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.
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.
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.