Skip to content

Commit 192d886

Browse files
pre-commit-ci[bot]dmitry-kabanov
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5c24219 commit 192d886

File tree

9 files changed

+10
-20
lines changed

9 files changed

+10
-20
lines changed

docs/source/api/api-c/ivp.rst

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ ivp
22
===
33

44
.. doxygenfile:: oif/interfaces/ivp.h
5-

docs/source/api/api-c/linsolve.rst

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ linsolve
22
========
33

44
.. doxygenfile:: oif/interfaces/linsolve.h
5-

docs/source/api/api-python/ivp/index.rst

-3
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,3 @@ Module Contents
141141
.. py:method:: print_stats()
142142
143143
Print integration statistics.
144-
145-
146-

docs/source/api/api-python/linear_solver/index.rst

-3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,3 @@ Module Contents
4444
:returns: Result of the linear system solution after the invocation
4545
of the `solve` method.
4646
:rtype: np.ndarray
47-
48-
49-

docs/source/api/api-python/qeq_solver/index.rst

-3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,3 @@ Module Contents
6464
.. py:method:: solve(a: float, b: float, c: float)
6565
6666
Solve the quadratic equation :math:`a x^2 + b x + c = 0`.
67-
68-
69-

docs/source/api/c.rst

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ C Interfaces
77
api-c/ivp.rst
88
api-c/linsolve.rst
99
api-c/qeq.rst
10-

oif/interfaces/c/include/oif/interfaces/ivp.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
22
* @file
3-
* @brief Interface for solving initial-value problems (IVP) for ordinary differential equations (ODE).
3+
* @brief Interface for solving initial-value problems (IVP) for ordinary differential
4+
* equations (ODE).
45
*
56
* This interface defines the interface for solving initial-value problems
67
* for ordinary differential equations:
@@ -23,7 +24,8 @@ extern "C" {
2324
*
2425
* @param[in] t Current time
2526
* @param[in] y State vector at time `t`
26-
* @param[out] ydot Derivative of the state vector, which must be computed during the function call
27+
* @param[out] ydot Derivative of the state vector, which must be computed during the function
28+
* call
2729
* @param[in] user_data User data (additional context) required by the right-hand side function
2830
*/
2931
typedef int (*oif_ivp_rhs_fn_t)(double t, OIFArrayF64 *y, OIFArrayF64 *ydot, void *user_data);

oif/interfaces/c/include/oif/interfaces/linsolve.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
22
* @file
33
* This module defines the interface for solving linear systems of equations.
4-
*
4+
*
55
* Problems to be solved are of the form:
6-
*
6+
*
77
* \f[
88
* A x = b,
99
* \f]

oif/interfaces/c/include/oif/interfaces/qeq.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/**
22
* @file
33
* This module defines the interface for solving a quadratic equation.
4-
*
4+
*
55
* The quadratic equation is of the form:
66
* \f[
77
* a x^2 + b x + c = 0,
88
* \f]
99
* where \f$a\f$, \f$b\f$, and \f$c\f$ are the coefficients of the equation.
10-
*
10+
*
1111
* Of course, this is not very useful in scientific context to invoke
1212
* such a solver.
13-
*
13+
*
1414
* It was developed as a prototype to ensure that the envisioned architecture
1515
* of Open Interfaces is feasible.
1616
* It is used as a simple text case as well.
17-
*
17+
*
1818
*/
1919
#pragma once
2020

0 commit comments

Comments
 (0)