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

61 lines
2.9 KiB
C

#pragma once
/* 1 integration point */
static double xt1[1] = { 0.333333333333333 };
static double yt1[1] = { 0.333333333333333 };
static double pt1[1] = { 0.5 };
/* 4 integration points */
static double xt4[4] = { 0.333333333333333, 0.6, 0.2, 0.2 };
static double yt4[4] = { 0.3333333333333333, 0.2, 0.6, 0.2 };
static double pt4[4] = { -0.28125, .260416666666, .260416666666, .260416666666 };
/* 7 integration points */
static double xt7[7] = { 0.333333333333333, 0.797426985353087, 0.101286507323456,
0.101286507323456, 0.470142064105115, 0.059715871789770,
0.470142064105115 };
static double yt7[7] = { 0.333333333333333, 0.101286507323456, 0.797426985353087,
0.101286507323456, 0.059715871789770, 0.470142064105115,
0.470142064105115 };
static double pt7[7] = { 0.112500000000000, 0.062969590272414, 0.062969590272414,
0.062969590272414, 0.066197076394253, 0.066197076394253,
0.066197076394253 };
/* 12 integration points */
static double xt12[12] = {
0.873821971016996, 0.063089014491502, 0.063089014491502, 0.501426509658179,
0.249286745170910, 0.249286745170910, 0.636502499121399, 0.310352451033785,
0.636502499121399, 0.310352451033785, 0.053145049844816, 0.053145049844816 };
static double yt12[12] = {
0.063089014491502, 0.873821971016996, 0.063089014491502, 0.249286745170910,
0.501426509658179, 0.249286745170910, 0.310352451033785, 0.636502499121399,
0.053145049844816, 0.053145049844816, 0.310352451033785, 0.636502499121399 };
static double pt12[12] = {
0.025422453185104, 0.025422453185104, 0.025422453185104, 0.058393137863189,
0.058393137863189, 0.058393137863189, 0.041425537809187, 0.041425537809187,
0.041425537809187, 0.041425537809187, 0.041425537809187, 0.041425537809187 };
/* 16 integration points */
static double xt16[16] = {
0.333333333333333, 0.081414823414554, 0.459292588292723, 0.459292588292723,
0.658861384496480, 0.170569307751760, 0.170569307751760, 0.898905543365938,
0.050547228317031, 0.050547228317031, 0.008394777409958, 0.728492392955404,
0.263112829634638, 0.008394777409958, 0.263112829634638, 0.728492392955404 };
static double yt16[16] = {
0.333333333333333, 0.459292588292723, 0.081414823414554, 0.459292588292723,
0.170569307751760, 0.658861384496480, 0.170569307751760, 0.050547228317031,
0.898905543365938, 0.050547228317031, 0.728492392955404, 0.008394777409958,
0.008394777409958, 0.263112829634638, 0.728492392955404, 0.263112829634638 };
static double pt16[16] = {
0.072157803838894, 0.047545817133643, 0.047545817133643, 0.047545817133643,
0.051608685267359, 0.051608685267359, 0.051608685267359, 0.016229248811599,
0.016229248811599, 0.016229248811599, 0.013615157087217, 0.013615157087217,
0.013615157087217, 0.013615157087217, 0.013615157087217, 0.013615157087217 };