def show_diffeo_structure(dds, report, tolerance): ds = DiffeoStructure(dds, tolerance=tolerance) with report.subsection('display') as r: ds.display(r) with report.subsection('show_reduction_steps') as r: ds.show_reduction_steps(r, max_nsteps=5) with report.subsection('show_reduction') as r: ds.show_reduction(r)
def show_diffeo_structure(dds, report, tolerance): ds = DiffeoStructure(dds, tolerance=tolerance) with report.subsection('display') as r: ds.display(r) with report.subsection('show_reduction_steps') as r: ds.show_reduction_steps(r, max_nsteps=5) with report.subsection('show_reduction') as r: ds.show_reduction(r)
def report_dds_geometry(id_discdds, tolerance): dds = get_conftools_discdds().instance(id_discdds) r = Report('dds_geometry-%s-%s' % (id_discdds, tolerance)) ds = DiffeoStructure(dds, tolerance=tolerance) with r.subsection('display') as r: ds.display(r) with r.subsection('show_reduction_steps') as r: ds.show_reduction_steps(r, max_nsteps=5) with r.subsection('show_reduction') as r: ds.show_reduction(r) return r
def report_dds_geometry(id_discdds, tolerance): dds = get_conftools_discdds().instance(id_discdds) r = Report('dds_geometry-%s-%s' % (id_discdds, tolerance)) ds = DiffeoStructure(dds, tolerance=tolerance) with r.subsection('display') as r: ds.display(r) with r.subsection('show_reduction_steps') as r: ds.show_reduction_steps(r, max_nsteps=5) with r.subsection('show_reduction') as r: ds.show_reduction(r) return r