From 4df68d1f02992151bbe7f49a071b4fc05eddd029 Mon Sep 17 00:00:00 2001 From: Aditya Joshi Date: Fri, 16 Aug 2024 12:05:13 -0400 Subject: [PATCH 1/2] Updates to 'adaptVerbose' --- ma/ma.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ma/ma.h b/ma/ma.h index 261948e01..805751341 100644 --- a/ma/ma.h +++ b/ma/ma.h @@ -54,12 +54,14 @@ void adapt(Input* in); note that this function will delete the Input object. */ void adapt(const Input* in); /** \brief adapt verbose for debugging with mutable configuration Input - \details see maInput.h for details. The mesh will be - written (vtk-format) at each operation stage */ + \details see maInput.h for details. Additional iteration(s) of refine, snap, + and fixElementShapes are called which can lead to a different mesh than 'adapt'. + The mesh for visualization will be written (vtk-format) at each operation stage. */ void adaptVerbose(Input* in, bool verbosef = false); /** \brief adapt verbose for debugging with unmutable configuration Input - \details see maInput.h for details. The mesh will be - written (vtk-format) at each operation stage */ + \details see maInput.h for details. Additional iteration(s) of refine, snap, + and fixElementShapes are called which can lead to a different mesh than 'adapt'. + The mesh for visualization will be written (vtk-format) at each operation stage. */ */ void adaptVerbose(const Input* in, bool verbosef = false); /** \brief run uniform refinement, plus snapping and shape correction */ void runUniformRefinement(Mesh* m, int n=1, SolutionTransfer* s=0); From 91999343d3c5388749c3337feca4e02830f12267 Mon Sep 17 00:00:00 2001 From: Aditya Joshi Date: Fri, 16 Aug 2024 12:34:09 -0400 Subject: [PATCH 2/2] mark deprecated wip --- ma/ma.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ma/ma.h b/ma/ma.h index 805751341..69c764039 100644 --- a/ma/ma.h +++ b/ma/ma.h @@ -57,12 +57,12 @@ void adapt(const Input* in); \details see maInput.h for details. Additional iteration(s) of refine, snap, and fixElementShapes are called which can lead to a different mesh than 'adapt'. The mesh for visualization will be written (vtk-format) at each operation stage. */ -void adaptVerbose(Input* in, bool verbosef = false); +void adaptVerbose(Input* in, bool verbosef = false) __attribute__((deprecated)); /** \brief adapt verbose for debugging with unmutable configuration Input \details see maInput.h for details. Additional iteration(s) of refine, snap, and fixElementShapes are called which can lead to a different mesh than 'adapt'. - The mesh for visualization will be written (vtk-format) at each operation stage. */ */ -void adaptVerbose(const Input* in, bool verbosef = false); + The mesh for visualization will be written (vtk-format) at each operation stage. */ +void adaptVerbose(const Input* in, bool verbosef = false) __attribute__((deprecated)); /** \brief run uniform refinement, plus snapping and shape correction */ void runUniformRefinement(Mesh* m, int n=1, SolutionTransfer* s=0); /** \brief run uniform refinement with matched entity support