From 764f26b4aae4eb7d00359f8a44706abaf5997369 Mon Sep 17 00:00:00 2001 From: Lucas Palazzolo Date: Thu, 10 Aug 2023 11:14:02 +0200 Subject: [PATCH] correction of the algorithm in the implementation of the geo shapo --- docs/modules/ROOT/pages/implementation.adoc | 100 ++++++++++---------- 1 file changed, 48 insertions(+), 52 deletions(-) diff --git a/docs/modules/ROOT/pages/implementation.adoc b/docs/modules/ROOT/pages/implementation.adoc index 55a1912..dfe950f 100644 --- a/docs/modules/ROOT/pages/implementation.adoc +++ b/docs/modules/ROOT/pages/implementation.adoc @@ -158,60 +158,56 @@ Contains all the information needed to solve the optimization problem. Depending == Algorithm Now that the data needed to solve a shape optimization problem has been described, let's present the main points of the algorithm. -.Geometric shape optimisation algorithm -++++ -
-\begin{algorithm}
-    \caption{Geometric shape optimisation algorithm}
-    \hspace*{\algorithmicindent} \textbf{Input :} Parameters json file  \\
-    \hspace*{\algorithmicindent} \textbf{Output :} Csv and paraview files for each iteration
-    \begin{algorithmic}
-    \FUNCTION{ShapeOpti}{}
-
-
-      \STATE \textbf{Initialization:} 
-      \STATE  $n=0$.
-      \STATE  - Reading the json file containing the parameters.
-      \STATE  - Solve the primal problem. 
-      \STATE  - Solve the dual problem.
-      \STATE  - Solve the postprocessing problem.
-
-      \IF {NSGF} 
-        \STATE - Solve the postprocessing of $\xi_J$ problem.
-        \STATE - Solve the $Dg^T$ problem.
-      \ENDIF
-      
-      \STATE - Solve the expansion problem : $\theta_n$.
-
-      \WHILE{$\|\theta_n\|_{H^1}>\varepsilon_{tol}$ AND $n\varepsilon_{tol}$ AND $n
-++++
+....
 
 For reasons of visibility, certain points have been omitted, such as the calculation of the Lagrange multiplier in the case of gradient descent, or certain coefficients in the case of null space gradient flow. The various results obtained are saved after each iteration in a csv file for all cost, volume and stem:[H^1]-norm functions, etc. For fields and meshes, paraview files are also exported after each iteration.