Ejemplo n.º 1
0
 /// <summary>
 /// Constructs a surface integrator.
 /// </summary>
 /// <param name="owner">
 /// Creator of this object.
 /// </param>
 /// <param name="rule">
 /// The quadrature rule to be used
 /// </param>
 public SurfaceIntegrator(LevelSetIntegrator owner, ICompositeQuadRule <CellBoundaryQuadRule> rule)
     : base(new int[] { owner.m_NoOfIntegrands }, owner.m_LevSetTrk.GridDat, rule)
 {
     m_Owner        = owner;
     m_WeightBuffer = new MultidimensionalArray(2);
     m_ResultBuffer = new MultidimensionalArray(4);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs a volume integrator.
 /// </summary>
 /// <param name="owner">
 /// Creator of this object.
 /// </param>
 /// <param name="volumeRule">
 /// quadrature rules and domain
 /// </param>
 public VolumeIntegrator(LevelSetIntegrator owner, ICompositeQuadRule <QuadRule> volumeRule)
     : base(new int[] { owner.m_NoOfIntegrands }, owner.m_LevSetTrk.GridDat, volumeRule)
 {
     m_Owner        = owner;
     m_WeightBuffer = new MultidimensionalArray(2);
 }