21 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 31 Real legendre_eval(
Real v,
unsigned i)
33 libmesh_assert (-1.-1.e-5 <= v && v < 1.);
47 return 1.+(-1.5+2.5*v*v)*v;
50 return -.625+(-3.75+4.375*v*v)*v*v;
53 return 1.+(1.875+(-8.75+7.875*v*v)*v*v)*v;
58 (-19.6875+14.4375*v*v)*v*v)*v*v;
64 (-43.3125+26.8125*v*v)*v*v)*v*v)*v;
70 (-93.84375+50.2734375*v*v)*v*v)*v*v)*v*v;
77 (-201.09375+94.9609375*v*v)*v*v)*v*v)*v*v)*v;
84 (-427.32421875+180.42578125*v*v)*v*v)*v*v)*v*v)*v*v;
92 (-902.12890625+344.44921875*v*v)*v*v)*v*v)*v*v)*v*v)*v;
100 (-1894.470703125+660.1943359375*v*v)*v*v)*v*v)*v*v)*v*v)*v*v;
109 (-3961.166015625+1269.6044921875*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v;
112 return -1.20947265625+
118 (-8252.42919921875+2448.52294921875*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v;
128 (-17139.66064453125+4733.81103515625*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v;
131 return -.803619384765625+
138 (-35503.58276367188+9171.758880615234*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v;
149 (-73374.07104492188+17804.00253295898*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v;
152 return -1.185470581054688+
160 (-151334.0215301514+34618.89381408691*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v;
164 libmesh_error_msg(
"bad index i = " << i);
171 Real legendre_eval_deriv(
Real v,
unsigned i)
173 libmesh_assert (-1.-1.e-5 <= v && v < 1.);
190 return (-7.5+17.5*v*v)*v;
193 return 1.875+(-26.25+39.375*v*v)*v*v;
198 (-78.75+86.625*v*v)*v*v)*v;
203 (-216.5625+187.6875*v*v)*v*v)*v*v;
209 (-563.0625+402.1875*v*v)*v*v)*v*v)*v;
215 (-1407.65625+854.6484375*v*v)*v*v)*v*v)*v*v;
222 (-3418.59375+1804.2578125*v*v)*v*v)*v*v)*v*v)*v;
229 (-8119.16015625+3788.94140625*v*v)*v*v)*v*v)*v*v)*v*v;
237 (-18944.70703125+7922.33203125*v*v)*v*v)*v*v)*v*v)*v*v)*v;
245 (-43572.826171875+16504.8583984375*v*v)*v*v)*v*v)*v*v)*v*v)*v*v;
254 (-99029.150390625+34279.3212890625*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v;
257 return -3.14208984375+
263 (-222815.5883789063+71007.16552734375*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v;
273 (-497050.1586914063+146748.1420898438*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v;
276 return 3.338470458984375+
283 (-1100611.065673828+302668.0430603027*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v;
294 (-2421344.344482422+623140.0886535645*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v*v)*v;
298 libmesh_error_msg(
"bad index i = " << i);
323 #endif // LIBMESH_ENABLE_INFINITE_ELEMENTS
static Real eval_deriv(Real v, Order o_radial, unsigned int i)
static Real eval(Real v, Order o_radial, unsigned int i)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real