Commits

Panagiotis Mavrogiorgos  committed 56f7c60

Made Initialization of the Test Instance more robust

  • Participants
  • Parent commits 179f0bd

Comments (0)

Files changed (1)

File pull_out_tests.py

         self.Ac = pi * self.Dc**2 / 4
         self.rho = self.As / self.Ac
 
+
+
+    def initial(self):
         np = self.np
 
         # Lists holding the Specimen for each node during each half-cycle.
         self.B = Bond()
 
     def initialize(self):
-        self.Ss_prev = 0
-        self.Sc_prev = 0
-
-        self.db = {}
+        self.initial()
 
         self.db_initialize_Specimen(self.db)
         self.B.initialize_db(self.db)