Skip to content

Commit efa755d

Browse files
committed
Preparing for v1.0.4 beta version
1 parent b71edc8 commit efa755d

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

documentation/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
project = 'LayerCake'
2020
copyright = '2025-2026, Jonathan Demaeyer and Oisín Hamilton'
2121
author = 'Jonathan Demaeyer and Oisín Hamilton'
22-
release = 'v1.0.3-alpha'
22+
release = 'v1.0.4-beta'
2323
version = release
2424

2525
# -- General configuration ---------------------------------------------------

layercake/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
'OperatorTerm', 'ProductOfTerms', 'AdditionOfTerms', 'LinearTerm', 'ConstantTerm', 'Equation', 'Laplacian', 'D',
1414
'Layer', 'Cake']
1515

16-
__version__ = '1.0.3a0'
16+
__version__ = '1.0.4b0'

layercake/basis/base.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,18 +227,21 @@ def num_functions(self):
227227
from sympy import symbols, sin, exp
228228
from layercake.variables.coordinate import Coordinate
229229
from layercake.variables.systems import CoordinateSystem
230+
from layercake.variables.parameter import Parameter
230231

231232
xs, ys = symbols('x y') # x and y coordinates on the model's spatial domain
232233
x = Coordinate("x", xs, extent=[0., 2 * np.pi])
233234
y = Coordinate("y", ys, extent=[0., np.pi])
234235
coord_sys = CoordinateSystem([x, y])
235-
basis = SymbolicBasis(coord_sys)
236236
al = symbols('al') # aspect ratio and alpha coefficients
237+
alp = Parameter(0.1, symbol=al)
237238
n = Symbol('n', positive=True)
239+
np = Parameter(1.3, symbol=n)
240+
basis = SymbolicBasis(coord_sys, [np, alp])
238241
for i in range(1, 3):
239242
for j in range(1, 3):
240243
basis.append(2 * exp(- al * xs) * sin(j * n * xs / 2) * sin(i * ys))
241244

242-
basis.substitutions.append(('n', 1.))
243-
basis.substitutions.append(('al', 1.))
245+
# basis.substitutions.append(('n', 1.))
246+
# basis.substitutions.append(('al', 1.))
244247

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires = ["setuptools", "wheel"]
77
[project]
88
requires-python = ">=3.10"
99
name = "layercake_model"
10-
version = "1.0.3-alpha"
10+
version = "1.0.4-beta"
1111
description = "A framework to design systems of partial differential equations (PDEs), and convert them to ordinary differential equations (ODEs) via Galerkin-type expansions. "
1212
readme = "README.md"
1313
authors = [

0 commit comments

Comments
 (0)