コード例 #1
0
        public double[] CalculateForces(IElement element, double[] localTotalDisplacementsSuperElement, double[] localdDisplacementsSuperelement)
        {
            double[] fxk2_coh = new double[64];
            Tuple <Matrix[], double[]> RtN3AndIntegrationCoeffs;

            RtN3AndIntegrationCoeffs = CalculateNecessaryMatricesForStiffnessMatrixAndForcesVectorCalculations();
            Matrix[] RtN3;
            RtN3 = RtN3AndIntegrationCoeffs.Item1;
            double[] integrationCoeffs;
            integrationCoeffs = RtN3AndIntegrationCoeffs.Item2;

            fxk2_coh = this.UpdateForces(element, RtN3, integrationCoeffs);
            return(dofEnumerator.GetTransformedForcesVector(fxk2_coh));           // embedding
        }
コード例 #2
0
 public double[] CalculateForces(IElement element, double[] localDisplacements, double[] localdDisplacements)
 {
     double[] internalForces = this.CalculateForcesInGlobalSystem();
     return(dofEnumerator.GetTransformedForcesVector(internalForces));
 }