コード例 #1
0
 /// <summary>
 /// PTA model with no boundary
 /// </summary>
 /// <param name="fluid">Fluid model</param>
 /// <param name="well">Well model</param>
 /// <param name="reservoir">Reservoir model</param>
 public PtaModel(Fluid fluid, Well well, Reservoir reservoir) : this(fluid, well, reservoir, new NoBoundary())
 {
     Condition.Requires(fluid, nameof(fluid)).IsNotNull();
     Condition.Requires(well, nameof(well)).IsNotNull();
     Condition.Requires(reservoir, nameof(reservoir)).IsNotNull();
 }
コード例 #2
0
 /// <summary>
 /// PTA model with boundary
 /// </summary>
 /// <param name="fluid">Fluid model</param>
 /// <param name="well">Well model</param>
 /// <param name="reservoir">Reservoir model</param>
 /// <param name="boundary">Boundary model</param>
 public PtaModel(Fluid fluid, Well well, Reservoir reservoir, BoundaryBase boundary) : base(fluid, well, reservoir)
 {
     Condition.Requires(boundary, nameof(boundary)).IsNotNull();
     _boundary = boundary;
 }