On Wed, May 23, 2018 at 11:10 AM, Charles Puelz <[email protected]>
wrote:

> Hi everyone,
>
> I'd like to use the QGrid object as a quadrature rule, and use an order
> that's potentially
> much bigger than what is defined in the Order enum.  For example, I'd like
> to do:
>
> Order foo = static_cast<Order>(100)
>
> but I am concerned about undefined behavior with this cast.  Is there a
> good way
> to use QGrid with an order greater than 43?
>

The easiest thing would probably be to just add your own enumerations up to
whatever order you need. The list can be sparse, i.e. you don't have to
list everything between 43 and 100.

-- 
John
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to