DGtal 1.4.0
|
Aim: This wraps a linear algebra solver around a discrete exterior calculus. More...
#include <DGtal/dec/DiscreteExteriorCalculusSolver.h>
Public Types | |
typedef TCalculus | Calculus |
typedef TLinearAlgebraSolver | LinearAlgebraSolver |
typedef LinearOperator< Calculus, order_in, duality_in, order_out, duality_out > | Operator |
typedef KForm< Calculus, order_in, duality_in > | SolutionKForm |
typedef KForm< Calculus, order_out, duality_out > | InputKForm |
Public Member Functions | |
BOOST_STATIC_ASSERT ((order_in >=0)) | |
BOOST_STATIC_ASSERT ((order_in<=TCalculus::dimensionEmbedded)) | |
BOOST_STATIC_ASSERT ((order_out >=0)) | |
BOOST_STATIC_ASSERT ((order_out<=TCalculus::dimensionEmbedded)) | |
DiscreteExteriorCalculusSolver () | |
void | selfDisplay (std::ostream &out) const |
DiscreteExteriorCalculusSolver & | compute (const Operator &linear_operator) |
SolutionKForm | solve (const InputKForm &input_kform) const |
bool | isValid () const |
Data Fields | |
const Calculus * | myCalculus |
LinearAlgebraSolver | myLinearAlgebraSolver |
Aim: This wraps a linear algebra solver around a discrete exterior calculus.
Description of template class 'DiscreteExteriorCalculusSolver'
TCalculus | should be DiscreteExteriorCalculus. |
TLinearAlgebraSolver | should be a model of CLinearAlgebraSolver. |
order_in | is the input order of the linear problem. |
duality_in | is the input duality of the linear problem. |
order_out | is the output order of the linear problem. |
duality_out | is the output duality of the linear problem. |
Definition at line 69 of file DiscreteExteriorCalculusSolver.h.
typedef TCalculus DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::Calculus |
Definition at line 78 of file DiscreteExteriorCalculusSolver.h.
typedef KForm<Calculus, order_out, duality_out> DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::InputKForm |
Definition at line 83 of file DiscreteExteriorCalculusSolver.h.
typedef TLinearAlgebraSolver DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::LinearAlgebraSolver |
Definition at line 79 of file DiscreteExteriorCalculusSolver.h.
typedef LinearOperator<Calculus, order_in, duality_in, order_out, duality_out> DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::Operator |
Definition at line 81 of file DiscreteExteriorCalculusSolver.h.
typedef KForm<Calculus, order_in, duality_in> DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::SolutionKForm |
Definition at line 82 of file DiscreteExteriorCalculusSolver.h.
DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::DiscreteExteriorCalculusSolver | ( | ) |
Constructor.
DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::BOOST_STATIC_ASSERT | ( | (order_in >=0) | ) |
DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::BOOST_STATIC_ASSERT | ( | (order_in<=TCalculus::dimensionEmbedded) | ) |
DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::BOOST_STATIC_ASSERT | ( | (order_out >=0) | ) |
DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::BOOST_STATIC_ASSERT | ( | (order_out<=TCalculus::dimensionEmbedded) | ) |
DiscreteExteriorCalculusSolver & DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::compute | ( | const Operator & | linear_operator | ) |
Prefactorize problem / set problem operator.
linear_operator | linear operator. |
Referenced by DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::solveOneAlternateStep(), HodgeTester< Calculus, order >::test(), and test_linear_structure().
bool DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
Referenced by DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::solveOneAlternateStep().
void DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
SolutionKForm DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::solve | ( | const InputKForm & | input_kform | ) | const |
Solve prefactorized / set problem input.
input_kform | input k-form. |
Referenced by DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::solveOneAlternateStep(), HodgeTester< Calculus, order >::test(), and test_linear_structure().
const Calculus* DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::myCalculus |
Pointer to const calculus
Definition at line 95 of file DiscreteExteriorCalculusSolver.h.
LinearAlgebraSolver DGtal::DiscreteExteriorCalculusSolver< TCalculus, TLinearAlgebraSolver, order_in, duality_in, order_out, duality_out >::myLinearAlgebraSolver |
Linear algebra solver.
Definition at line 100 of file DiscreteExteriorCalculusSolver.h.
Referenced by DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::solveOneAlternateStep().