-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lachlan Grose
committed
Mar 21, 2022
1 parent
59e130a
commit 3dc2a19
Showing
2 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
class Config: | ||
""" | ||
Class to store configuration settings. | ||
""" | ||
|
||
__splay_fault_threshold = 30 | ||
__experimental = False | ||
__default_interpolator = "FDI" | ||
__default_nelements = 1e4 | ||
__default_solver = "cg" | ||
|
||
@property | ||
def experimental(): | ||
return __experimental | ||
|
||
@experimental.setter | ||
def experimental(self, value): | ||
__experimental = value |