XIAN-FEM-2026June/3D opticsfem-master/function/Gauss_Quadrangle.h

36 lines
1.2 KiB
C

#pragma once
/* 1 integration point */
static double xq1[1] = { 0. };
static double yq1[1] = { 0. };
static double pq1[1] = { 4. };
/* 4 integration points */
static double xq4[4] = { 0.577350269189, -0.577350269189, 0.577350269189,
-0.577350269189 };
static double yq4[4] = { 0.577350269189, 0.577350269189, -0.577350269189,
-0.577350269189 };
static double pq4[4] = { 1., 1., 1., 1. };
/* 7 integration points */
static double xq7[7] = { 0.,
0.,
0.,
0.7745966692414834,
0.7745966692414834,
-0.7745966692414834,
-0.7745966692414834 };
static double yq7[7] = { 0.,
0.9660917830792959,
-0.9660917830792959,
0.7745966692414834,
-0.7745966692414834,
0.7745966692414834,
-0.7745966692414834 };
static double pq7[7] = { 1.1428571428571428, 0.31746031746031744,
0.31746031746031744, 0.5555555555555556,
0.5555555555555556, 0.5555555555555556,
0.5555555555555556 };