Deprecated .h file compressed_sparsity_pattern.h

30 views
Skip to first unread message

Henry Ho

unread,
May 9, 2018, 2:49:29 PM5/9/18
to deal.II User Group
Hello, I have recently downloaded dealii through the source-based installer candi. I am trying to run a program that uses the dealii package. However it seems that they are using an older version of dealii and so I am missing the header file compressed_sparsity_pattern.h (deprecated). To fix this, what header file(s) should I include to replace the deprecated compressed_sparsity_pattern.h in the program I am trying to run?

Thanks!

Jean-Paul Pelteret

unread,
May 9, 2018, 3:20:24 PM5/9/18
to dea...@googlegroups.com
Dear Henry,

The DynamicSparsityPattern family of classes has superseded many of the older “Compressed” sparsity patterns that were deprecated in deal.II 8.3 (or thereabouts). The header file that you now need to include is 

#include <deal.II/lac/dynamic_sparsity_pattern.h>

If there is any difference in the interface to this class versus that of the old sparsity pattern, you can refer to any of the early tutorial programs (e.g. step-2) to see how to use it.

I hope that this helps.

Regards,
Jean-Paul

On 09 May 2018, at 20:49, Henry Ho <henry...@gmail.com> wrote:

Hello, I have recently downloaded dealii through the source-based installer candi. I am trying to run a program that uses the dealii package. However it seems that they are using an older version of dealii and so I am missing the header file compressed_sparsity_pattern.h (deprecated). To fix this, what header file(s) should I include to replace the deprecated compressed_sparsity_pattern.h in the program I am trying to run?

Thanks!

--
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 dealii+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Henry Ho

unread,
May 9, 2018, 4:07:30 PM5/9/18
to deal.II User Group
Noted with thanks! :)
Reply all
Reply to author
Forward
0 new messages