From: John P. <jwp...@gm...> - 2018-05-23 18:52:04
|
On Wed, May 23, 2018 at 11:10 AM, Charles Puelz <cha...@gm...> 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 |