From 244549900cc82162772e8f114950565443241fcf Mon Sep 17 00:00:00 2001
From: acrovato <a.crovato@uliege.be>
Date: Fri, 4 Oct 2024 11:52:44 +0200
Subject: [PATCH] Adapt to TACS API

---
 examples/tacs_sdpm_nipk_agard.py | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/examples/tacs_sdpm_nipk_agard.py b/examples/tacs_sdpm_nipk_agard.py
index 547bf80..570f38f 100644
--- a/examples/tacs_sdpm_nipk_agard.py
+++ b/examples/tacs_sdpm_nipk_agard.py
@@ -77,12 +77,6 @@ def tacs_cfg(n_mod):
         transform = elements.ShellRefAxisTransform(np.array([np.sqrt(2), np.sqrt(2), 0.0]))
         return elements.Quad4Shell(transform, con)
 
-    # Modal problem parameters
-    modal_cfg = {
-        'num_modes': n_mod,
-        'sigma': 1.
-    }
-
     # Various pyTACS options
     options = {
         'printtiming': True
@@ -91,7 +85,8 @@ def tacs_cfg(n_mod):
     return {
         'mesh_file': get_path('agard445.bdf'),
         'element_callback': element_callback,
-        'problem_cfg': modal_cfg,
+        'num_modes': n_mod,
+        'sigma': 1.,
         'pytacs_options': options,
         'write_solution': False
         }
-- 
GitLab