Skip to content

Commit

Permalink
Updates C++ and some unit tests (RascalSoftware#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenNneji authored Dec 6, 2024
1 parent d77a550 commit 4d08b5d
Show file tree
Hide file tree
Showing 23 changed files with 1,003 additions and 2,443 deletions.
2 changes: 1 addition & 1 deletion RATapi/examples/absorption/absorption.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"metadata": {},
"outputs": [],
"source": [
"problem = RAT.Project(name=\"Absorption example\", calculation=\"non polarised\", model=\"custom layers\", geometry=\"substrate/liquid\", absorption=True)"
"problem = RAT.Project(name=\"Absorption example\", calculation=\"normal\", model=\"custom layers\", geometry=\"substrate/liquid\", absorption=True)"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion RATapi/examples/absorption/absorption.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def absorption():
"""Custom layers model including absorption"""
problem = RAT.Project(
name="Absorption example",
calculation="non polarised",
calculation="normal",
model="custom layers",
geometry="substrate/liquid",
absorption=True,
Expand Down
343 changes: 10 additions & 333 deletions RATapi/examples/convert_rascal_project/convert_rascal.ipynb

Large diffs are not rendered by default.

340 changes: 8 additions & 332 deletions RATapi/examples/domains/domains_custom_XY.ipynb

Large diffs are not rendered by default.

329 changes: 7 additions & 322 deletions RATapi/examples/domains/domains_custom_layers.ipynb

Large diffs are not rendered by default.

165 changes: 10 additions & 155 deletions RATapi/examples/domains/domains_standard_layers.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion RATapi/examples/languages/setup_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def make_example_problem():
# and H2O. Load these datafiles in and put them in the data block

# Read in the datafiles
data_path = pathlib.Path("../data")
data_path = pathlib.Path(__file__).parents[1] / "data"
D2O_data = np.loadtxt(data_path / "c_PLP0016596.dat", delimiter=",")
SMW_data = np.loadtxt(data_path / "c_PLP0016601.dat", delimiter=",")
H2O_data = np.loadtxt(data_path / "c_PLP0016607.dat", delimiter=",")
Expand Down
47 changes: 10 additions & 37 deletions RATapi/examples/non_polarised/DSPC_custom_xy.ipynb

Large diffs are not rendered by default.

228 changes: 15 additions & 213 deletions RATapi/examples/non_polarised/DSPC_standard_layers.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 4d08b5d

Please sign in to comment.