Skip to content

Releases: pyccel/sympde

v0.9.10

23 Jun 16:37
381bcd8
Compare
Choose a tag to compare
Update version.py (#72)

v0.9.9: Devel ddm (#67)

27 Apr 10:17
453caf6
Compare
Choose a tag to compare
* Don't split the subdomains integral when calling terminalexpr

* Improve printing of domains and boundary

* Add NCubeInterior

* Calculate dtype and dim of domain

* Allow splitting over domains for the Norm

* Delete function _split_expr_over_subdomains

* Add assert statements in topology tests

* Don't override dim property in Interval

* Update version.py

v0.9.8

19 Mar 08:40
Compare
Choose a tag to compare
Update version.py

v0.9.7

28 Jan 14:21
Compare
Choose a tag to compare
[mapping] add SymbolicWeightedVolume class

v0.9.6: Devel bounds (#60)

28 Jan 12:28
860eb6a
Compare
Choose a tag to compare
* refactor: Use 'args' property instead of '_args' attribute.

As described in Sympy's User Guide, one should never use internal
methods of variables, prefixed with '_' (as an example, it is explicitly
written that one should not use '_args', but use 'args' instead).

Here we apply this rule to the two main modules in the 'topology'
directory: 'basic' and 'domain'.

* refactor: Improve Boundary class

* refactor: Remove obsolete module

* feat: Add coord bounds to Line/Square/Cube domains

Several changes in 'domain' module:

* It is now possible to instantiate objects of type Line, Square and
  Cube (these classes were only used as Domain constructors before);

* Line, Square and Cube are subclasses of the generic NCube class, they
  have different constructor signatures, and use NCube's constructor to
  instantiate an object of their type with minimal code duplication;

* NCube is a subclass of Domain; its constructor returns a Line object
  for dim=1, a Square for dim=2, a Cube for dim=3, and a generic NCube
  for dim>=4;

* Line, Square, Cube, and NCube allow the user to prescribe the
  coordinate bounds, which are (0, 1) by default.

Moreover, unit tests for the new features are provided.

* chore: Do not use latest version of Sympy (1.5)

* refactor: Avoid Codacy errors

v0.9.5: Cleanup and improvements in expr module after introduction of integra…

28 Jan 12:25
Compare
Choose a tag to compare
…l() (#54)

* Fix bug in custom 'expand' function:

When expanding an Add expression, this function was erroneously removing
the Number term from the sum.

* Fix bugs in 'is_linear_expression' function:

- Function was erroneously ignoring interface integrals;
- Function did not expand expressions before comparison.

* Add linearity check to LinearForm's constructor:

- When constructing a LinearForm from an expression, we verify that this
  is linear w.r.t. the given arguments, otherwise an exception is raised;
- The above behavior is now verified in a unit test;
- Moreover, the obsolete function 'is_linear_form' was removed.

* Remove obsolete function 'is_linear_form' from sympde.expr.basic:

Accordingly, LinearExpr's constructor uses 'is_linear_expression'.
Moreover, LinearExpr's constructor always checks linearity of input.

* Fix bug in unit tests: integrals of integrals.

* Implement math properties of Poisson's bracket:

- DONE: bilinearity and Leibniz's rule;
- TODO: anticommutativity and Jacobi identity.

* Add linearity checks to BilinearForm's constructor:

- When constructing a BilinearForm from an expression, we verify that this
  is linear w.r.t. trial and test functions, otherwise an exception is raised;
- The above behavior is now verified in a unit test;
- Moreover, the obsolete function 'is_bilinear_form' was removed.

* Poisson's bracket: add anti-commutativity, and some tests.

* [codacy] Remove some unused imports.

* Remove obsolete class 'BilinearExpr'.

* Remove output files generated by unit tests.

* [codacy] Remove unused imports.

* [codacy] Use '_' for dummy variables.

* [codacy] Remove more unused variables and imports.

* Check arguments number in Poisson bracket constructor.

* Reorder Poisson's bracket's arguments using 'str' instead of 'hash'.

* Add (failing) unit tests: LinearForm w/ indexed VectorTestFunction.

* Fix linearity check for expressions w/ indexed VectorTestFunction.

* Add extensive unit tests (failing) for vector products.

* Implement properties of vector products (dot, cross, inner, outer).

* Add workaround for Cross' anti-symmetry to FEEC compiler.

* Remove obsolete function Field and classes Unknown/VectorUnknown.

Moreover:

- Add 'projection_of' property to [Scalar|Vector]TestFunction;

- In FEEC compiler, identify proxy fields with elements of
  [Scalar|Vector]FunctionSpace of undefined kind, instead of
  [Scalar|Vector]Field (which is deprecated).

* [codacy] Remove unused imports.

* Update version.