protected override void BorderEdgeFlux_(ref BoSSS.Foundation.CommonParamsBnd inp, double[] Uin, out double FluxInCell) { Debug.Assert(Uin.Length == 1); Debug.Assert(base.ArgumentOrdering.Count == 1); base.BorderEdgeFlux_(ref inp, Uin, out FluxInCell); FluxInCell *= scale; }
protected override double BorderEdgeFlux(ref BoSSS.Foundation.CommonParamsBnd inp, double[] Uin) { this.basecall = true; double flx = base.BorderEdgeFlux(ref inp, Uin); this.basecall = false; flx *= cap; return flx; }
protected override void BorderEdgeFlux_(ref BoSSS.Foundation.CommonParamsBnd inp, double[] Uin, out double FluxInCell) { Debug.Assert(Uin.Length == 1); Debug.Assert(base.ArgumentOrdering.Count == 1); //if (varmode == EquationAndVarMode.mom_p) // Uin[0] /= rho; base.BorderEdgeFlux_(ref inp, Uin, out FluxInCell); //if (varmode == EquationAndVarMode.mom_p) // FluxInCell *= rho; FluxInCell *= scale; }
protected override void BorderEdgeFlux_(ref BoSSS.Foundation.CommonParamsBnd inp, double[] Uin, out double FluxInCell) { FluxInCell = 0.0; }