On 3/7/21 7:22 AM, [email protected] wrote:
/usr/local/include/deal.II/hp/fe_collection.h:469:77: error: static assertion
failed: Not all of the input arguments of this function are derived from
FiniteElement<dim,spacedim>!
469 | static_assert(is_base_of_all<FiniteElement<dim, spacedim>,
FETypes...>::value,
|
^~~~~
/usr/local/include/deal.II/hp/fe_collection.h:478:7: error: cannot convert
‘const int’ to ‘const dealii::FiniteElement<2, 2>&’
This is the key point. You declare 'fe' as an hp::FECollection but then
initialize it via
fe(1),
What the error message says is that you can't initialize an hp::FECollection
with just an int -- you need a finite element as an argument.
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/6c899f48-0b9d-ea1a-e789-67858dda5341%40colostate.edu.