|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFEJDMath.Data
Used to compute the data about the shape functions in order to compute the integrals
Field Summary | |
private static double[][] |
data1DArray
Values of the shape functions at the gauss points tabData[i][j] = value of phi[i] at xi[j] |
private static double[][][] |
dataArray
Values of the shape functions and of their gradient at the gauss points dataArray[i][j][0] = value of phi[i] at xi[j] dataArray[i][j][1] = value of dphi[i]/dxi[1] at xi[j] dataArray[i][j][2] = value of dphi[i]/dxi[2] at xi[j] |
private static ShapeFunction1D[] |
fct1DArray
In tabFct1d, the first 2 functions correspond to the 2 end points (then the functions corresponding to the others points, in the middle, are entered) |
private static ShapeFunction[] |
fctArray
Array containing the ansatz functions for the 2D problem |
private static FctParser[] |
function
Parser which contains the f function (right hand side) |
static int |
LINEAR
Constant used to denote the linear functions |
static int |
NBRCOEFF
Constant used to know the number of coefficients used for f |
static int |
QUADRATIC
Constant used to denote the quadratic functions |
private static double[][] |
quadratPts1DArray
Coordinated of the gauss points followed by their weight, always of the type double[n][2] with n the number of gauss points |
private static double[][] |
quadratPtsArray
Coordinated of the gauss points followed by their weight, always of the type double[n][3] with n the number of gauss points |
static int |
QUADRILATERAL
Constant used to denote the quadrilateral elements |
static int |
TRIANGLE
Constant used to denote the triangular elements |
Constructor Summary | |
Data()
|
Method Summary | |
static void |
computeDataArray(int elemType,
int fctType)
Stores the values of the shape functions 1D and 2D at the gauss points in order to compute the integrals |
static double |
computeFAt(int i,
Vector2 v)
Returns the value of the ith f function at (v.x,v.y) |
static double |
getData(int i,
int j,
int k)
Returns the value of th ith 2D shape function differenciated k times at the jth point |
static double |
getData1D(int i,
int j)
Returns the value of the ith 1D shape function at the jth point |
static java.lang.String |
getFunction(int i)
Returns the string representing the ith function |
static int |
getNbOfFct()
Returns the number of 2D fuctions |
static int |
getNbOfFct1D()
Returns the number of 1D fuctions |
static int |
getNbOfQuadratPts()
Returns the number of points used for 2D functions |
static int |
getNbOfQuadratPts1D()
Returns the number of points used for 1D functions |
static double |
getQuadratPts(int i,
int j)
Returns the jth component of the ith point for 2D computation, j=0 returns the x coordinate, j=1 returns the y coorfinate, j=2 returns the weight of the point |
static double |
getQuadratPts1D(int i)
Returns the x coordinate of the ith point for 1D computation |
static double |
getWeight(int i)
Returns the weight of the point in order to performe the 2D computation |
static double |
getWeight1D(int i)
Returns the weight of the point in order to performe the 1D computation |
static void |
setFunction(int i,
java.lang.String s)
Loads the function represented by the string s |
static void |
setNbOfFct(int nbr)
Sets the number of functions that the array will contain |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TRIANGLE
public static final int QUADRILATERAL
public static final int LINEAR
public static final int QUADRATIC
public static final int NBRCOEFF
private static ShapeFunction[] fctArray
private static double[][][] dataArray
private static double[][] quadratPtsArray
private static FctParser[] function
private static ShapeFunction1D[] fct1DArray
private static double[][] data1DArray
private static double[][] quadratPts1DArray
Constructor Detail |
public Data()
Method Detail |
public static void computeDataArray(int elemType, int fctType)
public static void setNbOfFct(int nbr)
public static void setFunction(int i, java.lang.String s)
public static java.lang.String getFunction(int i)
public static double computeFAt(int i, Vector2 v)
public static double getData(int i, int j, int k)
public static double getWeight(int i)
public static double getQuadratPts(int i, int j)
public static int getNbOfQuadratPts()
public static int getNbOfFct()
public static double getData1D(int i, int j)
public static double getWeight1D(int i)
public static double getQuadratPts1D(int i)
public static int getNbOfQuadratPts1D()
public static int getNbOfFct1D()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |