-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added function to get block info (#43)
Co-authored-by: Neil Wu <[email protected]> Co-authored-by: Neil Wu <[email protected]> Co-authored-by: Eirikur Jonsson <[email protected]>
- Loading branch information
1 parent
cc29c74
commit b9a4e3e
Showing
13 changed files
with
334 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
trigger: | ||
- master | ||
- master | ||
|
||
pr: | ||
- master | ||
- master | ||
|
||
resources: | ||
repositories: | ||
- repository: azure_template | ||
type: github | ||
name: mdolab/.github | ||
endpoint: mdolab | ||
- repository: azure_template | ||
type: github | ||
name: mdolab/.github | ||
endpoint: mdolab | ||
|
||
extends: | ||
template: azure/azure_template.yaml@azure_template | ||
parameters: | ||
REPO_NAME: cgnsutilities | ||
GCC_CONFIG: config/defaults/config.LINUX_GFORTRAN.mk | ||
INTEL_CONFIG: config/defaults/config.LINUX_INTEL.mk | ||
COVERAGE: true |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
set -e | ||
cp $CONFIG_FILE config/config.mk | ||
make | ||
pip install . | ||
pip install -e .[testing] |
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
*.mod | ||
*.o | ||
*.so | ||
*.out | ||
|
||
# auto generated files | ||
src/libcgns_utils-f2pywrappers2.f90 | ||
|
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
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,184 @@ | ||
{ | ||
"Block info": { | ||
"1": { | ||
"BCs": [ | ||
22, | ||
7, | ||
16 | ||
], | ||
"dims": [ | ||
{ | ||
"__ndarray__": 19, | ||
"dtype": "int32", | ||
"shape": [] | ||
}, | ||
{ | ||
"__ndarray__": 19, | ||
"dtype": "int32", | ||
"shape": [] | ||
}, | ||
{ | ||
"__ndarray__": 21, | ||
"dtype": "int32", | ||
"shape": [] | ||
} | ||
], | ||
"nCells": { | ||
"__ndarray__": 6480, | ||
"dtype": "int64", | ||
"shape": [] | ||
}, | ||
"nNodes": { | ||
"__ndarray__": 7581, | ||
"dtype": "int32", | ||
"shape": [] | ||
} | ||
}, | ||
"2": { | ||
"BCs": [ | ||
22, | ||
7, | ||
16 | ||
], | ||
"dims": [ | ||
{ | ||
"__ndarray__": 3, | ||
"dtype": "int32", | ||
"shape": [] | ||
}, | ||
{ | ||
"__ndarray__": 19, | ||
"dtype": "int32", | ||
"shape": [] | ||
}, | ||
{ | ||
"__ndarray__": 21, | ||
"dtype": "int32", | ||
"shape": [] | ||
} | ||
], | ||
"nCells": { | ||
"__ndarray__": 720, | ||
"dtype": "int64", | ||
"shape": [] | ||
}, | ||
"nNodes": { | ||
"__ndarray__": 1197, | ||
"dtype": "int32", | ||
"shape": [] | ||
} | ||
}, | ||
"3": { | ||
"BCs": [ | ||
22, | ||
7, | ||
16 | ||
], | ||
"dims": [ | ||
{ | ||
"__ndarray__": 19, | ||
"dtype": "int32", | ||
"shape": [] | ||
}, | ||
{ | ||
"__ndarray__": 19, | ||
"dtype": "int32", | ||
"shape": [] | ||
}, | ||
{ | ||
"__ndarray__": 21, | ||
"dtype": "int32", | ||
"shape": [] | ||
} | ||
], | ||
"nCells": { | ||
"__ndarray__": 6480, | ||
"dtype": "int64", | ||
"shape": [] | ||
}, | ||
"nNodes": { | ||
"__ndarray__": 7581, | ||
"dtype": "int32", | ||
"shape": [] | ||
} | ||
}, | ||
"4": { | ||
"BCs": [ | ||
22, | ||
7, | ||
16 | ||
], | ||
"dims": [ | ||
{ | ||
"__ndarray__": 3, | ||
"dtype": "int32", | ||
"shape": [] | ||
}, | ||
{ | ||
"__ndarray__": 19, | ||
"dtype": "int32", | ||
"shape": [] | ||
}, | ||
{ | ||
"__ndarray__": 21, | ||
"dtype": "int32", | ||
"shape": [] | ||
} | ||
], | ||
"nCells": { | ||
"__ndarray__": 720, | ||
"dtype": "int64", | ||
"shape": [] | ||
}, | ||
"nNodes": { | ||
"__ndarray__": 1197, | ||
"dtype": "int32", | ||
"shape": [] | ||
} | ||
}, | ||
"5": { | ||
"BCs": [ | ||
22, | ||
7 | ||
], | ||
"dims": [ | ||
{ | ||
"__ndarray__": 3, | ||
"dtype": "int32", | ||
"shape": [] | ||
}, | ||
{ | ||
"__ndarray__": 19, | ||
"dtype": "int32", | ||
"shape": [] | ||
}, | ||
{ | ||
"__ndarray__": 21, | ||
"dtype": "int32", | ||
"shape": [] | ||
} | ||
], | ||
"nCells": { | ||
"__ndarray__": 720, | ||
"dtype": "int64", | ||
"shape": [] | ||
}, | ||
"nNodes": { | ||
"__ndarray__": 1197, | ||
"dtype": "int32", | ||
"shape": [] | ||
} | ||
}, | ||
"totalCells": { | ||
"__ndarray__": 15120, | ||
"dtype": "int64", | ||
"shape": [] | ||
}, | ||
"totalNodes": { | ||
"__ndarray__": 18753, | ||
"dtype": "int64", | ||
"shape": [] | ||
}, | ||
"totalZones": 5 | ||
} | ||
} |
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,7 @@ | ||
{ | ||
"Number of cells": { | ||
"__ndarray__": 6480, | ||
"dtype": "int64", | ||
"shape": [] | ||
} | ||
} |
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,7 @@ | ||
{ | ||
"Number of nodes in the first block": { | ||
"__ndarray__": 7581, | ||
"dtype": "int32", | ||
"shape": [] | ||
} | ||
} |
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,12 @@ | ||
{ | ||
"Total cells": { | ||
"__ndarray__": 15120, | ||
"dtype": "int64", | ||
"shape": [] | ||
}, | ||
"Total nodes": { | ||
"__ndarray__": 18753, | ||
"dtype": "int64", | ||
"shape": [] | ||
} | ||
} |
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,12 @@ | ||
{ | ||
"Wall cells": { | ||
"__ndarray__": 756, | ||
"dtype": "int64", | ||
"shape": [] | ||
}, | ||
"Wall nodes": { | ||
"__ndarray__": 893, | ||
"dtype": "int64", | ||
"shape": [] | ||
} | ||
} |
Oops, something went wrong.