Skip to content

Commit

Permalink
Reorganized code
Browse files Browse the repository at this point in the history
  • Loading branch information
vmakarichev committed Jan 22, 2025
1 parent 70aa770 commit 73eb026
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 777 deletions.
16 changes: 8 additions & 8 deletions libraries/diff-studio-utils/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@ A lightweight TypeScript library for solving initial value problem ([IVP](https:
* The modified Rosenbrock triple ([MRT](https://doi.org/10.1137/S1064827594276424))
* The [ROS3PRw](https://doi.org/10.1016/j.cam.2015.03.010) method
* The [ROS34PRw](https://doi.org/10.1016/j.cam.2015.03.010) method
* Zero dependencies
* Scripting !! TODO: add description
* Zero dependencies

## Installation

```bash
npm install diff-studio-utils !!!TODO: modify
```

## Usage

### Solving IVP
## Solving IVP

To find numerical solution of a problem:

Expand Down Expand Up @@ -82,10 +80,6 @@ Currently, `solution` contains:

Find this example in [basic-use.ts](./src/examples/basic-use.ts).

### Scripting

TO ADD

## Performance

The following [classic problems](https://archimede.uniba.it/~testset/testsetivpsolvers/?page_id=26#ODE) are used to evaluate efficiency of Diff Studio methods:
Expand Down Expand Up @@ -125,3 +119,9 @@ The MRT, ROS3PRw and ROS34PRw methods demonstrate the following time performance
|[OREGO](https://archimede.uniba.it/~testset/report/orego.pdf)|[0, 360]|36K|1E-8|381|483|199|
|[E5](https://archimede.uniba.it/~testset/report/e5.pdf)|[0, 10E+13]|40K|1E-6|14|17|8|
|[Pollution](https://archimede.uniba.it/~testset/report/pollu.pdf)|[0, 60]|30K|1E-6|36|50|23|

Run [check-methods.ts](./src/examples/check-methods.ts) to check results.

## Scripting

TO ADD
4 changes: 3 additions & 1 deletion libraries/diff-studio-utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ export {mrt} from './src/solver-tools/mrt-method';
export {ros3prw} from './src/solver-tools/ros3prw-method';
export {ros34prw} from './src/solver-tools/ros34prw-method';

export {perfProbs, corrProbs, CorrProblem} from './src/examples/index';


export {perfProbs, corrProbs, CorrProblem} from './src/examples/index';
2 changes: 1 addition & 1 deletion libraries/diff-studio-utils/src/examples/check-methods.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//
// A script for checking performance

import {ODEs, corrProbs, CorrProblem, mrt, ros3prw, ros34prw, perfProbs} from '../../index';

Expand Down
159 changes: 0 additions & 159 deletions libraries/diff-studio-utils/src/templates.ts

This file was deleted.

Loading

0 comments on commit 73eb026

Please sign in to comment.