Skip to content

Commit

Permalink
Merge pull request #1725 from DGtal-team/docpolyDEC
Browse files Browse the repository at this point in the history
Fixing DEC documentation for PolygonalCalculus.
  • Loading branch information
dcoeurjo authored May 28, 2024
2 parents 81227e3 + 9929647 commit 2535dc6
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/polyscope-examples/dgtalCalculus-bunny.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* Laboratoire d'InfoRmatique en Image et Systemes d'information - LIRIS (CNRS, UMR 5205), CNRS, France
*
* @date 2021/09/02
* @ingroup Examples
*
* This file is part of the DGtal library.
*/
Expand Down
1 change: 1 addition & 0 deletions examples/polyscope-examples/dgtalCalculus-geodesic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* @file
* @author David Coeurjolly (\c david.coeurjolly@liris.cnrs.fr )
* Laboratoire d'InfoRmatique en Image et Systemes d'information - LIRIS (CNRS, UMR 5205), CNRS, France
* @ingroup Examples
*
* @date 2021/09/02
*
Expand Down
1 change: 1 addition & 0 deletions examples/polyscope-examples/dgtalCalculus-halfsphere.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* Laboratory of Mathematics (CNRS, UMR 5127), University of Savoie, France
*
* @date 2022/04/10
* @ingroup Examples
*
* This file is part of the DGtal library.
*/
Expand Down
1 change: 1 addition & 0 deletions examples/polyscope-examples/dgtalCalculus-poisson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* Laboratoire d'InfoRmatique en Image et Systemes d'information - LIRIS (CNRS, UMR 5205), CNRS, France
*
* @date 2021/09/02
* @ingroup Examples
*
* This file is part of the DGtal library.
*/
Expand Down
1 change: 1 addition & 0 deletions examples/polyscope-examples/dgtalCalculus-single.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*
* @date 2021/09/02
*
* @ingroup Examples
* This file is part of the DGtal library.
*/
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion src/DGtal/dec/doc/modulePolygonalCalculus.dox
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Operator | Output | Description
`calculus.P(f)`| \f$ n_f \times n_f\f$ | Projection operator acting on a discrete 1-form that removes the associated non-tangential part of the vector reconstructed using the sharp operator

Discrete flat and sharp operators match with the DEC operators (see \ref moduleDECIntroduction). For short, the flat operator embeds an ambient vector as a discrete 1-form (roughly values on the face edges) while the sharp operator pull-back a 1-form to reconstruct a vector in @f$\mathbb{R}^3@f$. These operators are rank 2 and @f$ sharp_f flat_f s = s\f$ for any vector @f$s@f$ in the face tangent plane, but @f$ flat_f sharp_f v = v@f$ for any vector v does not hold (due to rank deficiencies of the matrices).
This is quantified by the projection operator @f$P@f$ (see @cite degoes2020discrete for structural lemmas, e.g. @f$ normal_f\cdot (sharp_f flat_f s)=0\quad \forall s\in$\mathbb{R}^3@f$...).
This is quantified by the projection operator @f$P@f$ (see @cite degoes2020discrete for structural lemmas, e.g. @f$ normal_f\cdot (sharp_f flat_f s)=0\quad \forall s\in \mathbb{R}^3@f$...).


For interested readers, @cite degoes2020discrete has a discussion about the relationship between these operators and the classical DEC or FEM ones.
Expand Down
8 changes: 7 additions & 1 deletion src/DGtal/dec/doc/packageDEC.dox
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,14 @@ Basic operators, such as Hodge duality operator or exterior derivative, can be c
- exampleHarmonicParametrization.cpp
- exampleVectorHeatMethod.cpp
- dgtalCalculus-poisson.cpp
- dgtalCalculus-laplace.cpp
- dgtalCalculus.cpp
- dgtalCalculus-single.cpp
- dgtalCalculus-geodesic.cpp
- dgtalCalculus-halfsphere.cpp
- dgtalCalculus-bunny.cpp
- exampleVectorHeatMethod.cpp
- exampleHarmonicParametrization.cpp
- exampleBunnyHead.cpp

*/

Expand Down

0 comments on commit 2535dc6

Please sign in to comment.