コード例 #1
0
ファイル: Analyzer.cs プロジェクト: uzbekdev1/MPT.Tools
 /// <summary>
 /// Sets the model solver options.
 /// </summary>
 /// <param name="solverType">Solver type used for the analysis.</param>
 /// <param name="solverProcessType">Process type used for the analysis.</param>
 /// <param name="force32BitSolver">True: The analysis is always run using 32-bit, even on 64-bit computers.</param>
 /// <param name="stiffCase">The name of the load case used when outputting the mass and stiffness matrices to text files.
 /// If this item is blank, no matrices are output.</param>
 /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
 public void SetSolverOption_1(eSolverType solverType,
                               eSolverProcessType solverProcessType,
                               bool force32BitSolver,
                               string stiffCase = "")
 {
     _callCode = _sapModel.Analyze.SetSolverOption_1((int)solverType, (int)solverProcessType, force32BitSolver, stiffCase);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException();
     }
 }
コード例 #2
0
ファイル: Analyzer.cs プロジェクト: uzbekdev1/MPT.Tools
        /// <summary>
        /// Retrieves the model solver options.
        /// </summary>
        /// <param name="solverType">Solver type used for the analysis.</param>
        /// <param name="solverProcessType">Process type used for the analysis.</param>
        /// <param name="force32BitSolver">True: The analysis is always run using 32-bit, even on 64-bit computers.</param>
        /// <param name="stiffCase">The name of the load case used when outputting the mass and stiffness matrices to text files.
        /// If this item is blank, no matrices are output.</param>
        /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
        public void GetSolverOption_1(ref eSolverType solverType,
                                      ref eSolverProcessType solverProcessType,
                                      ref bool force32BitSolver,
                                      ref string stiffCase)
        {
            int csiSolverType        = 0;
            int csiSolverProcessType = 0;

            _callCode = _sapModel.Analyze.GetSolverOption_1(ref csiSolverType, ref csiSolverProcessType, ref force32BitSolver, ref stiffCase);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException();
            }

            solverType        = (eSolverType)csiSolverType;
            solverProcessType = (eSolverProcessType)csiSolverProcessType;
        }
コード例 #3
0
 public void SetSolverOption_1(eSolverType solverType,
                               eSolverProcessType solverProcessType,
                               bool force32BitSolver,
                               string stiffCase = "")
 {
 }
コード例 #4
0
 public void GetSolverOption_1(ref eSolverType solverType,
                               ref eSolverProcessType solverProcessType,
                               ref bool force32BitSolver,
                               ref string stiffCase)
 {
 }