Esempio n. 1
0
 /// <summary>
 /// adds a standard(Gaussian) quadrature rule to the quadrature scheme <paramref name="scheme"/>.
 /// </summary>
 public static EdgeQuadratureScheme AddStandardRule(this EdgeQuadratureScheme scheme, Grid.RefElements.RefElement s)
 {
     scheme.AddFactoryDomainPair(new StandardQuadRuleFactory(s), null);
     return(scheme);
 }
Esempio n. 2
0
 /// <summary>
 /// adds a factory to an edge quadrature scheme
 /// </summary>
 public static EdgeQuadratureScheme AddFactory <TQuadRule>(this EdgeQuadratureScheme scheme, IQuadRuleFactory <TQuadRule> factory)
     where TQuadRule : QuadRule
 {
     scheme.AddFactoryDomainPair(factory, default(EdgeMask));
     return(scheme);
 }