예제 #1
0
        public override Vector Calculate_ShapeFunctions(Vector Xi)
        {
            Vector N      = new Vector(NNPE);
            Vector N_1D_M = ParametricInterpolation_1D_M.CalculateShapeFunctions(Xi.Values[0]);
            Vector N_1D_N = ParametricInterpolation_1D_N.CalculateShapeFunctions(Xi.Values[1]);
            int    Index  = 0;

            for (int j = 0; j < NNPE_n; j++)
            {
                for (int i = 0; i < NNPE_m; i++)
                {
                    N.Values[Index] = N_1D_M.Values[i] * N_1D_N.Values[j];
                    Index++;
                }
            }
            return(N);
        }
예제 #2
0
        public override Vector Calculate_ShapeFunctions(Vector Xi)
        {
            Vector N_1D_L = ParametricInterpolation_1D_L.CalculateShapeFunctions(Xi.Values[0]);

            return(N_1D_L);
        }