Skip to content

Commit

Permalink
fmk - changing key UQ_Method to UQ in example inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
fmckenna committed Sep 30, 2022
1 parent c5acd35 commit 77ac086
Show file tree
Hide file tree
Showing 23 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Examples/qfem-0001/src/input.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"UQ_Method": {
"UQ": {
"samplingMethodData": {
"method": "LHS",
"samples": 50,
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0002/src/input.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"FEM": {
},
"UQ_Method": {
"UQ": {
"samplingMethodData": {
"method": "LHS",
"samples": 200,
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0003/src/input.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"UQ_Method": {
"UQ": {
"reliabilityMethodData": {
"integrationMethod": "Second Order",
"levelType": "Probability Levels",
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0004/src/input.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"UQ_Method": {
"UQ": {
"samplingMethodData": {
"method": "LHS",
"samples": 1000,
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0005/src/input.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"UQ_Method": {
"UQ": {
"samplingMethodData": {
"method": "LHS",
"samples": 200,
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0006/src/input.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"UQ_Method": {
"UQ": {
"calibrationMethodData": {
"calibrationDataFile": "{Current_Dir}/minimumValue.txt",
"convergenceTol": 1e-10,
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0007/src/input.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"UQ_Method": {
"UQ": {
"calibrationMethodData": {
"convergenceTol": 1e-10,
"factors": "",
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0008/src/input.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"UQ_Method": {
"UQ": {
"bayesianCalibrationMethodData": {
"burnInSamples": 0,
"calibrationDataFile": "{Current_Dir}/eigData.csv",
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0009/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"name": "Node_2_Disp_2"
}
],
"UQ_Method": {
"UQ": {
"samplingMethodData": {
"method": "Monte Carlo",
"samples": 500,
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0010/src/input.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"UQ_Method": {
"UQ": {
"samplingMethodData": {
"method": "LHS",
"samples": 200,
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0014/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"type": "scalar"
}
],
"UQ_Method": {
"UQ": {
"calDataFile": "eigData.csv",
"calDataFilePath": "{Current_Dir}/.",
"logLikelihoodFile": "",
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0015/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"FEM": {
},
"UQ_Method": {
"UQ": {
"surrogateMethodInfo": {
"DoEmethod": "None",
"accuracyLimit": 0.02,
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0016/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
],
"FEM": {
},
"UQ_Method": {
"UQ": {
"surrogateMethodInfo": {
"DoEmethod": "None",
"accuracyLimit": 0.02,
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0017/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"name": "Node_3_Disp_2"
}
],
"UQ_Method": {
"UQ": {
"Config File": "{Current_Dir}/UQpySimpleExample.json",
"Parameters": [
{
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0017/src/scInput.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"FEM": {
},
"UQ_Method": {
"UQ": {
"Config File": "{Current_Dir}/UQpySimpleExample.json",
"Parameters": [
{
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0018/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"FEM":{
},
"UQ_Method": {
"UQ": {
"calibrationMethodData": {
"calibrationDataFile": "{Current_Dir}/calDataField.csv",
"convergenceTol": 0.0001,
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0019/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "field"
}
],
"UQ_Method": {
"UQ": {
"calDataFile": "calDataField.csv",
"calDataFilePath": "{Current_Dir}/.",
"logLikelihoodFile": "",
Expand Down
4 changes: 2 additions & 2 deletions Examples/qfem-0020/src/templatedir/HeirBayesRunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def getUQData(self):
input_data = json.load(f)

self.ApplicationData = input_data["Applications"]
self.uqData = input_data["UQ_Method"]
self.uqData = input_data["UQ"]
self.simulationData = self.ApplicationData["FEM"]
self.randomVarsData = input_data["randomVariables"]
self.demandParams = input_data["EDP"]
Expand Down Expand Up @@ -237,4 +237,4 @@ def main():


if __name__ == "__main__":
main()
main()
4 changes: 2 additions & 2 deletions Examples/qfem-0020/src/templatedir/HierBayesRunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def getUQData(self):
input_data = json.load(f)

self.ApplicationData = input_data["Applications"]
self.uqData = input_data["UQ_Method"]
self.uqData = input_data["UQ"]
self.simulationData = self.ApplicationData["FEM"]
self.randomVarsData = input_data["randomVariables"]
self.demandParams = input_data["EDP"]
Expand Down Expand Up @@ -237,4 +237,4 @@ def main():


if __name__ == "__main__":
main()
main()
2 changes: 1 addition & 1 deletion Examples/qfem-0020/src/templatedir/scInput.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"FEM": {
},
"UQ_Method": {
"UQ": {
"Config File": "{Current_Dir}/ConfigHierBayes.json",
"Parameters": [
{
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0021/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"FEM": {
},
"UQ_Method": {
"UQ": {
"surrogateMethodInfo": {
"DoEmethod": "IMSEw",
"accuracyLimit": 0.02,
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0022/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"FEM": {
},
"UQ_Method": {
"UQ": {
"surrogateMethodInfo": {
"advancedOpt": false,
"inpFile": "PLoM_variables.csv",
Expand Down
2 changes: 1 addition & 1 deletion Examples/qfem-0023/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"FEM": {
},
"UQ_Method": {
"UQ": {
"PCAvarianceRatio": 0.99,
"RVdataGroup": "",
"RVsensitivityGroup": "",
Expand Down

0 comments on commit 77ac086

Please sign in to comment.