Skip to content

Commit

Permalink
Optapp/restructuring 23 gradient projection (#11225)
Browse files Browse the repository at this point in the history
* save

* save state

* few checks for norm calue

* done

* self.GetResponseName()

* remove TimeLogger

* cleaning

* cleaning

* fix bug and update the ref test

* update the trest due to clone opeation

* rremove prints

* Update applications/OptimizationApplication/python_scripts/algorithms/algorithm_gradient_projection.py

Co-authored-by: Suneth Warnakulasuriya <[email protected]>

* adding tests

* fixing the test standart reponse value

* testing

* fix text case

* update linear solver

* suggestions

* rename the fields in csv file of the test

* remove models part

* Change the test to use shell elements

* Update applications/OptimizationApplication/python_scripts/algorithms/standardized_constraint.py

Co-authored-by: Suneth Warnakulasuriya <[email protected]>

* Update applications/OptimizationApplication/python_scripts/algorithms/algorithm_gradient_projection.py

Co-authored-by: Suneth Warnakulasuriya <[email protected]>

* Update applications/OptimizationApplication/python_scripts/algorithms/algorithm_gradient_projection.py

Co-authored-by: Suneth Warnakulasuriya <[email protected]>

* fix suggestion

* revert to check

* remove unnecessary Clone function

* apply suggestion from CI log

* csv_file compare

* submit error through for testing

* remove relative outputs

---------

Co-authored-by: IAntonau <[email protected]>
Co-authored-by: Suneth Warnakulasuriya <[email protected]>
  • Loading branch information
3 people authored Sep 7, 2023
1 parent ef4fa1a commit 693fc7e
Show file tree
Hide file tree
Showing 16 changed files with 1,491 additions and 691 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "optimization_application_variables.h"
#include "custom_python/add_custom_controls_to_python.h"
#include "custom_python/add_custom_responses_to_python.h"
#include "custom_python/add_custom_optimization_algorithm_to_python.h"
#include "custom_python/add_custom_strategies_to_python.h"
#include "custom_python/add_custom_response_utilities_to_python.h"
#include "custom_python/add_custom_utilities_to_python.h"
Expand All @@ -54,7 +53,6 @@ PYBIND11_MODULE(KratosOptimizationApplication, m)

AddCustomResponsesToPython(m);
AddCustomControlsToPython(m);
AddCustomOptimizationAlgorithmToPython(m);
AddCustomStrategiesToPython(m);
AddCustomUtilitiesToPython(m);
AddCustomConstitutiveLawsToPython(m);
Expand Down
Loading

0 comments on commit 693fc7e

Please sign in to comment.