Skip to content

Commit

Permalink
[ContactStructuralMechanicsApplication] Get rid of ExternalSolversApp…
Browse files Browse the repository at this point in the history
…lication

It is deprecated, so I remove the dependency
  • Loading branch information
loumalouomega committed May 2, 2020
1 parent a43350e commit dcda663
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@
"displacement_absolute_tolerance" : 1e-9,
"residual_relative_tolerance" : 0.0001,
"residual_absolute_tolerance" : 1e-9,
"max_iteration" : 10,
"linear_solver_settings" : {
"solver_type" : "ExternalSolversApplication.super_lu"
}
"max_iteration" : 10
},
"processes" : {
"constraints_process_list" : [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@
"displacement_absolute_tolerance" : 1e-9,
"residual_relative_tolerance" : 0.0001,
"residual_absolute_tolerance" : 1e-9,
"max_iteration" : 30,
"linear_solver_settings" : {
"solver_type" : "ExternalSolversApplication.super_lu",
"scaling" : false
}
"max_iteration" : 30
},
"processes" : {
"constraints_process_list" : [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
# Import Kratos "wrapper" for unittests
import KratosMultiphysics.KratosUnittest as KratosUnittest

# Using kratos_utilities
import KratosMultiphysics.kratos_utilities as kratos_utilities
if kratos_utilities.CheckIfApplicationsAvailable("ExternalSolversApplication"):
has_external_solvers_application = True
else:
has_external_solvers_application = False

import os
import sys
def GetFilePath(fileName):
Expand Down

0 comments on commit dcda663

Please sign in to comment.