Exemple #1
0
        public _BoundaryCondition __deref__()
        {
            global::System.IntPtr cPtr = NQuantLibcPINVOKE.BoundaryCondition___deref__(swigCPtr);
            _BoundaryCondition    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new _BoundaryCondition(cPtr, false);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(_BoundaryCondition obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(_BoundaryCondition obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #4
0
 public DirichletBC(double value, _BoundaryCondition.Side side) : this(NQuantLibcPINVOKE.new_DirichletBC(value, (int)side), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }