thanks for the reply. this is part of a dynamic quadrature rule, so its not clear what orders I may need, but in my current application, they are almost always greater than 43.
On Wed, May 23, 2018 at 2:51 PM, John Peterson <jwpeter...@gmail.com> wrote: > > > On Wed, May 23, 2018 at 11:10 AM, Charles Puelz <charles.pu...@gmail.com> > 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 > -- Charles Puelz Postdoc UNC Math Department cpuelz.github.io ------------------------------------------------------------------------------ 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 Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users