You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recommend using the [associated workflow](../.github/workflows/cmake-sundials-cvode.yml) to create the required static libraries during compilation time.
206
+
Download [sundials-7.2.1](https://github.com/LLNL/sundials/releases/download/v7.2.1/cvode-7.2.1.tar.gz) and unzip it.
207
207
208
+
To compile the CVODE objective files, you need an installation of Visual Studio and Intel oneAPI forboth C++ and Fortran. The commands below assume that you have the Enterprise version of Visual Studio - if you have the free community edition, simply change `Enterprise` to `Community`in the path.
208
209
209
-
## Read-in customized M-H-curve
210
+
Open a "Intel oneAPI command prompt for Intel 64 for Visual Studio 2022" as administrator and then do:
[Here](magtense/mat), three sample M-H-curves for Fe with different relative permeabilities and a saturation magnetization of 2.1 T are stored as CSV-files. The data format is as follows:
With only one state functiongiven, the same M-H-curve applies to all tiles of type 2.
219
+
where the `CVODE_temporary_directory` is a temporary directory that can be removed after installation.
238
220
239
-
When the soft tiles differ in their M-H-curves, multiple state function can be combined. In order to match a specific M-H-curve with the corresponding tile, the variable [stfcn_index](magtense/magtense.py#L54) can be set.
221
+
The installed CVODE files will be located in`"C:\Program Files (x86)\SUNDIALS"` but should be moved to `"C:\Program Files (x86)\sundials-7.2.1"` manually, so that MagTense can find it.
0 commit comments