The purpose of this research library is to demonstrate how to combine BoBa and MFEM to solve PDEs. It is a highly experimental codebase that is likely to change frequently.
Please use this citation when citing TensorFEM.
@misc{bobalibrary,
title = {TensorFEM: Tensor Finite Element Solvers},
author = {Guthrey, Pierson and
Sands, Willian and
Walton, Steven and
Hollett, Max and
Haut, Terry},
url = {https://github.com/llnl/tensorfem},
year = {2026}
}
TensorFEM is distributed under the Apache-2.0 with LLVM exception License. See LICENSE for the full terms and NOTICE for the LLNL/DOE government notice.
LLNL-CODE-2023234
Please see tpls/README.md to install the third-party libraries (TPLs).
Before starting with TensorFEM, we recommend that you are familiar with BoBa and MFEM.
The assembly example shows how to form tensorized solvers from a bilinear form.
make clean
make example_assembly
./example_assembly_cpu.out
Once you have the GLVis plots of the solution, we recommend the following options:
- Flatten the plot (Hold Ctrl -)
- Turn off the light (l)
- F7 for setting the bounds is also helpful