public void CrossSectionExamplesAddCrossSection() { string sim11Filepath = Path.Combine(ExampleBase.ExampleRoot, @"CrossSection\Simulation.sim11"); string xns11Filepath = Path.Combine(ExampleBase.ExampleRoot, @"CrossSection\CrossSections.xns11"); CrossSectionExamples.AddCrossSectionAndSave(xns11Filepath); CrossSectionExamples.AddCrossSectionAndRun(sim11Filepath); }
public void CrossSectionExamplesLoopAllCrossSections() { string xns11Filepath = Path.Combine(ExampleBase.ExampleRoot, @"CrossSection\CrossSections.xns11"); // Load cross section data Diagnostics diagnostics = new Diagnostics("Errors"); CrossSectionDataFactory csDataFactory = new CrossSectionDataFactory(); CrossSectionData csData = csDataFactory.Open(Connection.Create(xns11Filepath), diagnostics); // Loop over all cross sections CrossSectionExamples.LoopAllCrossSections(csData); // Save the cross section as a new file name csData.Connection.FilePath.FileNameWithoutExtension += "-csLoop"; CrossSectionDataFactory.Save(csData); }
public void CrossSectionExamplesModifyCrossSectionProcessed() { string xns11Filepath = Path.Combine(ExampleBase.ExampleRoot, @"CrossSection\CrossSections.xns11"); CrossSectionExamples.ModifyCrossSectionProcessedAndSave(xns11Filepath); }
public void CrossSectionExamplesNavigation() { string xns11Filepath = Path.Combine(ExampleBase.ExampleRoot, @"Vida\Vida96-1.xns11"); CrossSectionExamples.Navigation(xns11Filepath); }