public AbmachSimModel2D(Abmach2DSurface surface, ModelPath path, AbMachParameters parms) { debugData = new List <string>(); _surface = surface; _initialSurf = surface.Clone(); _tempSurf = new Abmach2DSurface(surface.BoundingBox, surface.MeshSize, surface.Border); _path = path; abmachParams = parms; runInfo = parms.RunInfo; jetRadius = abmachParams.AbMachJet.Diameter / 2.0; jetR = (int)Math.Round(.5 * abmachParams.AbMachJet.Diameter / surface.MeshSize); meshSize = surface.MeshSize; }
private void resetSurface() { _surface = _initialSurf.Clone(); }