Little Helper classes that come up repeatedly when writing solvers in FEniCS
- via pip/pip3
> pip3 install --user git+https://github.com/BAMresearch/fenics_helpers.git
- via including it into
setup.py
of another project
# within setup.py
setuptools.setup(
name="your project",
...
install_requires=["some", "packages",
"fenics_helpers @ git+https://github.com/BAMresearch/fenics_helpers"],
"more", "packages"],
...
)
The local damage example illustrates the use of .boundary
to conveniently select the boundaries like
bot = fh.boundary.plane_at(-10, "y")
right = fh.boundary.plane_at(10, "x")
and the adaptive .timestepping
module.
Example stdout
: