4# include <std::string.h>
129 for (
i = 1;
i <
k;
i++ )
147 *more = (
a[
k-1] !=
n );
198 v = (
double * ) malloc (
n *
sizeof (
double ) );
200 for (
j = 0;
j <
n;
j++ )
205 for (
i = 0;
i <
m;
i++ )
209 for (
j = 0;
j <
n;
j++ )
211 v[
j] =
v[
j] * pow ( x[
i+
j*
m], e[
i] );
255 for (
i = 0;
i <
n;
i++ )
296 for (
i = 0;
i <
n;
i++ )
298 value = value +
a1[
i] *
a2[
i];
359 static int more2 = 0;
368 for (
i = 0;
i <
k;
i++ )
395 if ( !more2 && n2 ==
n )
518 for (
i = 1;
i <= expon[1];
i++ )
525 value = value / (
double ) (
k );
528 value = value / (
double ) (
k );
582 double xy_save[2*1] = {
583 0.33333333333333333333, 0.33333333333333333333 };
639 0.33333333333333333333,
640 0.33333333333333333333,
641 0.33333333333333333333 };
642 double xy_save[2*3] = {
643 0.66666666666666666667, 0.16666666666666666667,
644 0.16666666666666666667, 0.66666666666666666667,
645 0.16666666666666666667, 0.16666666666666666667 };
701 0.33333333333333333333,
702 0.33333333333333333333,
703 0.33333333333333333333 };
704 double xy_save[2*3] = {
763 0.22338158967801146570,
764 0.22338158967801146570,
765 0.22338158967801146570,
766 0.10995174365532186764,
767 0.10995174365532186764,
768 0.10995174365532186764 };
769 double xy_save[2*6] = {
770 0.10810301816807022736, 0.44594849091596488632,
771 0.44594849091596488632, 0.10810301816807022736,
772 0.44594849091596488632, 0.44594849091596488632,
773 0.81684757298045851308, 0.091576213509770743460,
774 0.091576213509770743460, 0.81684757298045851308,
775 0.091576213509770743460, 0.091576213509770743460 };
831 0.30000000000000000000,
832 0.30000000000000000000,
833 0.30000000000000000000,
834 0.033333333333333333333,
835 0.033333333333333333333,
836 0.033333333333333333333 };
837 double xy_save[2*6] = {
838 0.66666666666666666667, 0.16666666666666666667,
839 0.16666666666666666667, 0.66666666666666666667,
840 0.16666666666666666667, 0.16666666666666666667,
899 0.12593918054482715260,
900 0.12593918054482715260,
901 0.12593918054482715260,
902 0.13239415278850618074,
903 0.13239415278850618074,
904 0.13239415278850618074,
905 0.22500000000000000000 };
906 double xy_save[2*7] = {
907 0.79742698535308732240, 0.10128650732345633880,
908 0.10128650732345633880, 0.79742698535308732240,
909 0.10128650732345633880, 0.10128650732345633880,
910 0.059715871789769820459, 0.47014206410511508977,
911 0.47014206410511508977, 0.059715871789769820459,
912 0.47014206410511508977, 0.47014206410511508977,
913 0.33333333333333333333, 0.33333333333333333333 };
968 double w_save[12] = {
969 0.050844906370206816921,
970 0.050844906370206816921,
971 0.050844906370206816921,
972 0.11678627572637936603,
973 0.11678627572637936603,
974 0.11678627572637936603,
975 0.082851075618373575194,
976 0.082851075618373575194,
977 0.082851075618373575194,
978 0.082851075618373575194,
979 0.082851075618373575194,
980 0.082851075618373575194 };
981 double xy_save[2*12] = {
982 0.87382197101699554332, 0.063089014491502228340,
983 0.063089014491502228340, 0.87382197101699554332,
984 0.063089014491502228340, 0.063089014491502228340,
985 0.50142650965817915742, 0.24928674517091042129,
986 0.24928674517091042129, 0.50142650965817915742,
987 0.24928674517091042129, 0.24928674517091042129,
988 0.053145049844816947353, 0.31035245103378440542,
989 0.31035245103378440542, 0.053145049844816947353,
990 0.053145049844816947353, 0.63650249912139864723,
991 0.31035245103378440542, 0.63650249912139864723,
992 0.63650249912139864723, 0.053145049844816947353,
993 0.63650249912139864723, 0.31035245103378440542 };
FTensor::Index< 'i', SPACE_DIM > i
const double v
phase velocity of light in medium (cm/ns)
const double n
refractive index of diffusive medium
FTensor::Index< 'j', 3 > j
FTensor::Index< 'k', 3 > k
constexpr double t
plate stiffness
FTensor::Index< 'm', 3 > m
void triangle_unit_o03(double w[], double xy[])
double * monomial_value(int m, int n, int e[], double x[])
void r8vec_copy(int n, double a1[], double a2[])
void triangle_unit_o07(double w[], double xy[])
void triangle_unit_o12(double w[], double xy[])
void triangle_unit_o06(double w[], double xy[])
void subcomp_next(int n, int k, int a[], int *more, int *h, int *t)
void triangle_unit_o03b(double w[], double xy[])
void triangle_unit_o01(double w[], double xy[])
double triangle_unit_monomial(int expon[2])
double r8vec_dot_product(int n, double a1[], double a2[])
void triangle_unit_o06b(double w[], double xy[])
void comp_next(int n, int k, int a[], int *more, int *h, int *t)
double triangle_unit_volume()