However, I am interested in using continuous densities. I thought of using the user_index property of the TriaAccessor class to create a map between the integer index and the real density but could not really figure out how to do it. I could not find examples on how to use the user_index property in the tutorials or the e-mail list, and wanted to ask for guidance on using it (or otherwise, if you think that there is a better solution than this, I would greatly appreciate).

Continuous densities sounds like level set or phase field methods or similar. In that case, your density would be a finite element function represented by a DoFHandler, not so much a cellwise property. Cellwise properties are always discontinuous.

Best,
Guido
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to