On 9/21/21 7:47 PM, Diego Magela wrote:

I intend to use deal.ii on my PhD and start from the beginning (step-1) to learn how to use deal.ii (I suspect that it is the better way to start :D).

I'm using Visual Studio Code to run step-1 (with properly C++ and CMake Tools extensions). In the first run I faced a question: how to inspect triangulation? When I run step on debugging mode, triangulation seems to be empty, it just shows {...}, unlike grid_out, where I can see everything that was set up, as can be seen in the figure.

Does someone know if this is a problem with VS Code or is something related to deal.ii?

Diego,
I don't know Visual Studio well enough to tell what specifically is wrong. But you will not likely find anything very useful when you inspect Triangulation objects: This class consists of a number of very complicated data structures that together describe a triangulation, but they are not obvious to understand. For example, you might think that a Triangulation essentially consists of a
  std::vector<Cell> cells;
structure where 'Cell' is where we store all of the information about each cell. But that is not true -- in fact, the information about cells is scattered across several dozen arrays grouped into a number of different classes. This would make it quite difficult to understand anything about the triangulation by looking at its member variables, but is what is necessary to make this class work efficiently on modern architectures.

In other words, I can't help you with your immediate problem, but think that even if one could work out this case, you would not learn much from it.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/ff75e134-dc66-1b2a-d4d8-4aa94aac6a0d%40colostate.edu.

Reply via email to