salomemed
6.5.0

In MED, it is possible to declare a Gauss model that describes the location of Gauss points in a reference cell. More...
In MED, it is possible to declare a Gauss model that describes the location of Gauss points in a reference cell.
This Gauss model definition is contained in the GAUSS_LOCALIZATION class. A GAUSS_LOCALIZATION object is associated to a field and to a type.
It is not permitted to define a Gauss model in a polygonal or polyhedric element.
The Gauss model can be :
A Gauss model can be constructed with the following constructor :
locName  defines a name associated with the gauss model 
typeGeo  names the type to which the Gauss model is assocaited 
nGauss  defines the number of Gauss points 
cooRef  defines an array giving the coordinates of the nodes of the reference element (dimension : spaceDimension * number of nodes for type typeGeo) 
cooGauss  defines an array giving the coordinates of the nodes of the Gauss points (dimension : spaceDimension * nGauss ) 
wg  weights associated with each Gauss point (dimension : nGauss) 
Example : in 2D, a Gauss model definition for a triangle would be written as :
string locname("gauss model"); double cooRef[6] ={0.0, 0.0, 1.0, 0.0, 0.0, 1.0}; double cooGauss[6]={0.2, 0.2, 0.8, 0.1, 0.1, 0.8}; double wg[3]={0.3334, 0.3334, 0.3334}; GAUSS_LOCALIZATION model(locname, MED_EN::MED_TRIA3, 3, cooRef, cooGauss, wg);