Esempio n. 1
0
        GetMPOrthotropic(this cPropMaterial obj, string Name, double Temp = 0)
        {
            double[] E, U, A, G;
            E = U = A = G = default(double[]);
            var res = obj.GetMPOrthotropic(Name, ref E, ref U, ref A, ref G, Temp);

            return(E, U, A, G);
        }
Esempio n. 2
0
        AddMaterial(this cPropMaterial obj, eMatType MatType, string Region, string Standard, string Grade, string UserName = "")
        {
            string Name;

            Name = default(string);
            var res = obj.AddMaterial(ref Name, MatType, Region, Standard, Grade, UserName);

            return(Name);
        }
Esempio n. 3
0
        GetDamping(this cPropMaterial obj, string Name, double Temp = 0)
        {
            double ModalRatio, ViscousMassCoeff, ViscousStiffCoeff, HystereticMassCoeff, HystereticStiffCoeff;

            ModalRatio = ViscousMassCoeff = ViscousStiffCoeff = HystereticMassCoeff = HystereticStiffCoeff = default(double);
            var res = obj.GetDamping(Name, ref ModalRatio, ref ViscousMassCoeff, ref ViscousStiffCoeff, ref HystereticMassCoeff, ref HystereticStiffCoeff, Temp);

            return(ModalRatio, ViscousMassCoeff, ViscousStiffCoeff, HystereticMassCoeff, HystereticStiffCoeff);
        }
Esempio n. 4
0
        GetONoDesign(this cPropMaterial obj, string Name, double Temp = 0)
        {
            double FrictionAngle, DilatationalAngle;

            FrictionAngle = DilatationalAngle = default(double);
            var res = obj.GetONoDesign(Name, ref FrictionAngle, ref DilatationalAngle, Temp);

            return(FrictionAngle, DilatationalAngle);
        }
Esempio n. 5
0
        GetWeightAndMass(this cPropMaterial obj, string Name, double Temp = 0)
        {
            double W, M;

            W = M = default(double);
            var res = obj.GetWeightAndMass(Name, ref W, ref M, Temp);

            return(W, M);
        }
Esempio n. 6
0
        GetMPUniaxial(this cPropMaterial obj, string Name, double Temp = 0)
        {
            double E, A;

            E = A = default(double);
            var res = obj.GetMPUniaxial(Name, ref E, ref A, Temp);

            return(E, A);
        }
Esempio n. 7
0
        GetTemp(this cPropMaterial obj, string Name)
        {
            int NumberItems;

            NumberItems = default(int);
            double[] Temp;
            Temp = default(double[]);
            var res = obj.GetTemp(Name, ref NumberItems, ref Temp);

            return(NumberItems, Temp);
        }
Esempio n. 8
0
        GetNameList(this cPropMaterial obj, eMatType MatType = (eMatType)0)
        {
            int NumberNames;

            NumberNames = default(int);
            string[] MyName;
            MyName = default(string[]);
            var res = obj.GetNameList(ref NumberNames, ref MyName, MatType);

            return(NumberNames, MyName);
        }
Esempio n. 9
0
        GetOSteel_1(this cPropMaterial obj, string Name, double Temp = 0)
        {
            double Fy, Fu, EFy, EFu, StrainAtHardening, StrainAtMaxStress, StrainAtRupture, FinalSlope;

            Fy = Fu = EFy = EFu = StrainAtHardening = StrainAtMaxStress = StrainAtRupture = FinalSlope = default(double);
            int SSType, SSHysType;

            SSType = SSHysType = default(int);
            var res = obj.GetOSteel_1(Name, ref Fy, ref Fu, ref EFy, ref EFu, ref SSType, ref SSHysType, ref StrainAtHardening, ref StrainAtMaxStress, ref StrainAtRupture, ref FinalSlope, Temp);

            return(Fy, Fu, EFy, EFu, SSType, SSHysType, StrainAtHardening, StrainAtMaxStress, StrainAtRupture, FinalSlope);
        }
Esempio n. 10
0
        GetOTendon_1(this cPropMaterial obj, string Name, double Temp = 0)
        {
            double Fy, Fu, FinalSlope;

            Fy = Fu = FinalSlope = default(double);
            int SSType, SSHysType;

            SSType = SSHysType = default(int);
            var res = obj.GetOTendon_1(Name, ref Fy, ref Fu, ref SSType, ref SSHysType, ref FinalSlope, Temp);

            return(Fy, Fu, SSType, SSHysType, FinalSlope);
        }
Esempio n. 11
0
        GetTypeOAPI(this cPropMaterial obj, string Name)
        {
            eMatType MatType;

            MatType = default(eMatType);
            int SymType;

            SymType = default(int);
            var res = obj.GetTypeOAPI(Name, ref MatType, ref SymType);

            return(MatType, SymType);
        }
Esempio n. 12
0
        GetMassSource(this cPropMaterial obj)
        {
            int MyOption, NumberLoads;

            MyOption = NumberLoads = default(int);
            string[] LoadPat;
            LoadPat = default(string[]);
            double[] SF;
            SF = default(double[]);
            var res = obj.GetMassSource(ref MyOption, ref NumberLoads, ref LoadPat, ref SF);

            return(MyOption, NumberLoads, LoadPat, SF);
        }
Esempio n. 13
0
        GetSSCurve(this cPropMaterial obj, string Name, string SectName = "", double RebarArea = 0, double Temp = 0)
        {
            int NumberPoints;

            NumberPoints = default(int);
            int[] PointID;
            PointID = default(int[]);
            double[] Strain, Stress;
            Strain = Stress = default(double[]);
            var res = obj.GetSSCurve(Name, ref NumberPoints, ref PointID, ref Strain, ref Stress, SectName, RebarArea, Temp);

            return(NumberPoints, PointID, Strain, Stress);
        }
Esempio n. 14
0
        GetORebar_1(this cPropMaterial obj, string Name, double Temp = 0)
        {
            double Fy, Fu, EFy, EFu, StrainAtHardening, StrainUltimate, FinalSlope;

            Fy = Fu = EFy = EFu = StrainAtHardening = StrainUltimate = FinalSlope = default(double);
            int SSType, SSHysType;

            SSType = SSHysType = default(int);
            bool UseCaltransSSDefaults;

            UseCaltransSSDefaults = default(bool);
            var res = obj.GetORebar_1(Name, ref Fy, ref Fu, ref EFy, ref EFu, ref SSType, ref SSHysType, ref StrainAtHardening, ref StrainUltimate, ref FinalSlope, ref UseCaltransSSDefaults, Temp);

            return(Fy, Fu, EFy, EFu, SSType, SSHysType, StrainAtHardening, StrainUltimate, FinalSlope, UseCaltransSSDefaults);
        }
Esempio n. 15
0
        GetMaterial(this cPropMaterial obj, string Name)
        {
            eMatType MatType;

            MatType = default(eMatType);
            int Color;

            Color = default(int);
            string Notes, GUID;

            Notes = GUID = default(string);
            var res = obj.GetMaterial(Name, ref MatType, ref Color, ref Notes, ref GUID);

            return(MatType, Color, Notes, GUID);
        }
Esempio n. 16
0
        GetOConcrete_1(this cPropMaterial obj, string Name, double Temp = 0)
        {
            double Fc, FcsFactor, StrainAtFc, StrainUltimate, FinalSlope, FrictionAngle, DilatationalAngle;

            Fc = FcsFactor = StrainAtFc = StrainUltimate = FinalSlope = FrictionAngle = DilatationalAngle = default(double);
            bool IsLightweight;

            IsLightweight = default(bool);
            int SSType, SSHysType;

            SSType = SSHysType = default(int);
            var res = obj.GetOConcrete_1(Name, ref Fc, ref IsLightweight, ref FcsFactor, ref SSType, ref SSHysType, ref StrainAtFc, ref StrainUltimate, ref FinalSlope, ref FrictionAngle, ref DilatationalAngle, Temp);

            return(Fc, IsLightweight, FcsFactor, SSType, SSHysType, StrainAtFc, StrainUltimate, FinalSlope, FrictionAngle, DilatationalAngle);
        }
Esempio n. 17
0
        GetMassSource_1(this cPropMaterial obj)
        {
            bool IncludeElements, IncludeAddedMass, IncludeLoads;

            IncludeElements = IncludeAddedMass = IncludeLoads = default(bool);
            int NumberLoads;

            NumberLoads = default(int);
            string[] LoadPat;
            LoadPat = default(string[]);
            double[] sf;
            sf = default(double[]);
            var res = obj.GetMassSource_1(ref IncludeElements, ref IncludeAddedMass, ref IncludeLoads, ref NumberLoads, ref LoadPat, ref sf);

            return(IncludeElements, IncludeAddedMass, IncludeLoads, NumberLoads, LoadPat, sf);
        }