|
DGtal 1.4.2
|
#include "DGtal/helpers/StdDefs.h"#include "DGtal/math/linalg/EigenSupport.h"#include "DGtal/dec/DiscreteExteriorCalculus.h"#include "DGtal/dec/DiscreteExteriorCalculusFactory.h"#include "DGtal/shapes/parametric/Ball3D.h"#include "DGtal/shapes/GaussDigitizer.h"#include "DGtal/topology/DigitalSurface.h"#include "DGtal/topology/ImplicitDigitalSurface.h"#include "DGtal/geometry/surfaces/estimation/LocalEstimatorFromSurfelFunctorAdapter.h"#include "DGtal/geometry/surfaces/estimation/IIGeometricFunctors.h"#include "DGtal/geometry/surfaces/estimation/IntegralInvariantCovarianceEstimator.h"#include "DGtalCatch.h"Go to the source code of this file.
Typedefs | |
| typedef EigenLinearAlgebraBackend::SparseMatrix | SparseMatrix |
| typedef EigenLinearAlgebraBackend::DenseMatrix | DenseMatrix |
Functions | |
| bool | test_operator (const DenseMatrix &M) |
| bool | laplace_sphere (const double &h) |
| TEST_CASE ("Operator Test") | |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Tests of the heat Laplace operator from DEC
This file is part of the DGtal library.
Definition in file testHeatLaplace.cpp.
| typedef PC::DenseMatrix DenseMatrix |
Definition at line 51 of file testHeatLaplace.cpp.
| typedef PC::SparseMatrix SparseMatrix |
Definition at line 50 of file testHeatLaplace.cpp.
| bool laplace_sphere | ( | const double & | h | ) |
Definition at line 71 of file testHeatLaplace.cpp.
References DGtal::GaussDigitizer< TSpace, TEuclideanShape >::attach(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::begin(), calculus, domain, DGtal::DUAL, DGtal::DigitalSurface< TDigitalSurfaceContainer >::end(), DGtal::Surfaces< TKSpace >::findABel(), DGtal::GaussDigitizer< TSpace, TEuclideanShape >::getDomain(), DGtal::GaussDigitizer< TSpace, TEuclideanShape >::init(), DGtal::IntegralInvariantCovarianceEstimator< TKSpace, TPointPredicate, TCovarianceMatrixFunctor >::init(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::HyperRectDomain< TSpace >::lowerBound(), DGtal::PRIMAL, test_operator(), and DGtal::HyperRectDomain< TSpace >::upperBound().
Referenced by TEST_CASE().
| TEST_CASE | ( | "Operator Test" | ) |
Definition at line 123 of file testHeatLaplace.cpp.
References laplace_sphere(), REQUIRE(), and SECTION().
| bool test_operator | ( | const DenseMatrix & | M | ) |
Definition at line 53 of file testHeatLaplace.cpp.
References test().
Referenced by laplace_sphere().