-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dec factory #1008
Dec factory #1008
Conversation
/** | ||
* Create DEC structure from digital set. | ||
* DEC embedded and ambient dimensions are equal to digital set point dimension. | ||
* Set points get attached to primal n-cell <-> dual 0-cell. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Points of the set ?
accumulateAllLowerIncidentCells(calculus.myKSpace, cell_border, lower_accum); | ||
} | ||
} | ||
//DGtal::trace.warning() << "add_border=" << add_border << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cleanup ?
@@ -161,6 +163,35 @@ This time DiscreteExteriorCalculusSolver.isValid is true after computing problem | |||
\snippet exampleDiscreteExteriorCalculusSolve.cpp solve_ldlt | |||
\image html solve_laplace_simplicial_ldlt.png "Poisson problem solution computed with simplicial LDLT solver. Solver solution is valid." | |||
|
|||
\section sectDECPoissonAlcapone Embedded 2D Poisson problem | |||
|
|||
In this example, we create a embedded 2D structure from a DigitalSurface and we solve a dual Poisson equation with Neumann boundaries condition. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an embedded
When running the exampleDECsurface, I get the following assert: New Block [alcapone] |
Great PR, thanks @elcerdo |
moved dec constructor to dec factor.
added dec factory from collection of signed n-cells (compatible with digitalsurface).