コード例 #1
0
 public void set_solver_type(ESolverType st)
 {
     modshogunPINVOKE.Machine_set_solver_type(swigCPtr, (int)st);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
    public ESolverType get_solver_type()
    {
        ESolverType ret = (ESolverType)modshogunPINVOKE.Machine_get_solver_type(swigCPtr);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #3
0
ファイル: Machine.cs プロジェクト: Anshul-Bansal/gsoc
 public void set_solver_type(ESolverType st) {
   modshogunPINVOKE.Machine_set_solver_type(swigCPtr, (int)st);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }