/// <summary> /// Actual plotting routine which uses /// <see cref="PlotDriver.PlotFields(string, double, IEnumerable{DGField})"/> /// to plot a single time-step /// </summary> /// <param name="fields"></param> /// <param name="physTime"></param> /// <param name="timestepNo"></param> protected void PlotCurrentState(IEnumerable <DGField> fields, double physTime, TimestepNumber timestepNo) { m_PlotDriver.PlotFields( Path.Combine(m_path, "state_") + timestepNo, physTime, fields); }
protected override void PlotCurrentState(double physTime, TimestepNumber timestepNo, int superSampling = 0) { if (plotDriver == null) { plotDriver = new Tecplot(GridData, true, false, (uint)superSampling); } UpdateDerivedVariables(); plotDriver.PlotFields("XDGShockTest-" + timestepNo, physTime, m_IOFields); }