-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'markcmiller86:main' into CI-CD
- Loading branch information
Showing
16 changed files
with
388 additions
and
255 deletions.
There are no files selected for viewing
Binary file not shown.
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,22 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Mac", | ||
"includePath": [ | ||
"${workspaceFolder}/**", | ||
"/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/include/python3.12" | ||
], | ||
"defines": [], | ||
"macFrameworkPath": [ | ||
"/System/Library/Frameworks", | ||
"/Library/Frameworks" | ||
], | ||
"compilerPath": "/usr/bin/clang", | ||
"cStandard": "c11", | ||
"cppStandard": "c++17", | ||
"intelliSenseMode": "macos-clang-x64" | ||
} | ||
], | ||
"version": 4 | ||
} | ||
|
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,48 @@ | ||
{ | ||
// Path to the Python interpreter | ||
"python.defaultInterpreterPath": "/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/bin/python3", | ||
|
||
// Use Pylance as the language server | ||
"python.languageServer": "Pylance", | ||
|
||
// Basic type checking mode | ||
"python.analysis.typeCheckingMode": "basic", | ||
|
||
// Automatically search for import paths | ||
"python.analysis.autoSearchPaths": true, | ||
|
||
// Use library code for types | ||
"python.analysis.useLibraryCodeForTypes": true, | ||
|
||
// Code Runner extension settings | ||
"code-runner.executorMap": { | ||
"python": "python -u" | ||
}, | ||
"code-runner.runInTerminal": true, | ||
"code-runner.saveFileBeforeRun": true, | ||
|
||
// Enable linting | ||
"python.linting.enabled": true, | ||
|
||
// Use Ruff as the linter | ||
"python.linting.ruffEnabled": true, | ||
|
||
// Disable Pylint | ||
"python.linting.pylintEnabled": false, | ||
|
||
// Additional arguments for Ruff (empty in this case) | ||
"python.linting.ruffArgs": [], | ||
|
||
// File associations to specify how certain files are treated | ||
"files.associations": { | ||
"libfoo.C": "cpp", | ||
"utils.C": "cpp", | ||
"helloPy.C": "cpp", | ||
"ftcs.C": "cpp", | ||
"heat.C": "cpp", | ||
"dufrank.C": "cpp", | ||
"args.C": "cpp", | ||
"crankn.C": "cpp", | ||
"exact.C": "cpp" | ||
} | ||
} |
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,31 @@ | ||
#ifndef FPTYPE | ||
#define FPTYPE 2 | ||
#endif | ||
|
||
// 0=half, 1=float, 2=double, 3=quad | ||
#if FPTYPE == 0 | ||
typedef _Float16 fpnumber; | ||
#define FPFMT "%- .4g" | ||
#define FPCAST double | ||
#elif FPTYPE == 1 | ||
typedef float fpnumber; | ||
#define FPFMT "%- .7g" | ||
#define FPCAST double | ||
#elif FPTYPE == 2 | ||
typedef double fpnumber; | ||
#define FPFMT "%- .16g" | ||
#define FPCAST double | ||
#elif FPTYPE == 3 | ||
typedef long double fpnumber; | ||
#define FPFMT ((sizeof(fpnumber)==10)?"%- .19Lg":"%- .34Lg") | ||
#define FPCAST long double | ||
#else | ||
#error UNRECOGNIZED FPTYPE | ||
#endif | ||
|
||
#define Number fpnumber | ||
|
||
#define TSTART -1 | ||
#define TFINAL -2 | ||
#define RESIDUAL -3 | ||
#define ERROR -4 |
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
Oops, something went wrong.