Skip to content

Commit 458ca6e

Browse files
committed
renamed mexpreval dependency to cuqdyn-rs
1 parent 6b62ed7 commit 458ca6e

File tree

10 files changed

+7
-7
lines changed

10 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The project is structured as follows:
2323
- `cuqdyn-c/`: The main library that implements the functionality of the paper project.
2424
- `sacess/`: [External proyect](https://bitbucket.org/DavidPenas/sacess-library) adapted to enable the
2525
use of eSS in C.
26-
- `mexpreval/`: Rust crate. Parses the model from the XML file to evaluate it.
26+
- `cuqdyn-rs/`: Rust crate. Parses the model from the XML file to evaluate it.
2727
- `tests/`: Constains the tests of the cuqdyn-c library.
2828
- `CUQDyn/`: Contains the original Matlab project.
2929

@@ -232,7 +232,7 @@ possible, we designed a way to define the models in Rust and compile them to mac
232232
Let's dig into it with an example of the Lotka Volterra model:
233233

234234
First of all, we need to write some Rust code. We will be using the following file
235-
`modules/mexpreval/src/models.rs`. Inside, we create a new unit struct and implement
235+
`modules/cuqdyn-rs/src/models.rs`. Inside, we create a new unit struct and implement
236236
the Model trait like this:
237237

238238
```Rust

deps.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ FetchContent_Declare(
8888

8989
FetchContent_MakeAvailable(cvodes)
9090

91-
### mexpeval ###
91+
### cuqdyn-rs ###
9292

93-
set(RUST_LIB_DIR "${PROJECT_SOURCE_DIR}/modules/mexpreval")
93+
set(RUST_LIB_DIR "${PROJECT_SOURCE_DIR}/modules/cuqdyn-rs")
9494
set(RUST_TARGET_DIR "${RUST_LIB_DIR}/target/release")
9595

9696
add_custom_target(rust_lib ALL

modules/cuqdyn-c/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ target_link_directories(cuqdyn-c PUBLIC ${RUST_TARGET_DIR})
3939
target_link_libraries(cuqdyn-c
4040
PUBLIC
4141
sacess
42-
mexpreval
42+
cuqdyn_rs
4343
SUNDIALS::core
4444
)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "mexpreval"
2+
name = "cuqdyn-rs"
33
version = "0.1.0"
44
edition = "2018"
55

@@ -24,5 +24,5 @@ name = "eval_f_exprs_bench"
2424
harness = false
2525

2626
[lib]
27-
name = "mexpreval"
27+
name = "cuqdyn_rs"
2828
crate-type = ["cdylib", "lib"]
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)