示例#1
0
        private static Dictionary <IFiniteElementNode, ForceVector> AddGravityLoad(PixelStructure structure, FiniteElementModel model)
        {
            Dictionary <IFiniteElementNode, ForceVector> map = new Dictionary <IFiniteElementNode, ForceVector>();

            if (structure.GravityLoad != null)
            {
                if (structure.GravityLoad.Activated)
                {
                    double amp = structure.GravityLoad.Amplification;
                    map = model.AddGravityLoad(amp);
                }
            }
            return(map);
        }