LaGriT: Los Alamos Grid Toolbox
LANL Software: LA-CC-15-069 No. C15097
LaGriT Home • LaGriT Documentation • Meshing Portfolio
Los Alamos Grid Toolbox (LaGriT) is a library of user callable tools that provide mesh generation, mesh optimization and dynamic mesh maintenance in two and three dimensions. LaGriT is used for a variety of geology and geophysics modeling applications including porous flow and transport model construction, finite element modeling of stress/strain in crustal fault systems, seismology, discrete fracture networks, asteroids and hydrothermal systems.
The general capabilities of LaGriT can also be used outside of earth science applications and applied to nearly any system that requires a grid/mesh and initial and boundary conditions, setting of material properties and other model setup functions. It can also be use as a tool to pre- and post-process and analyze vertex and mesh based data.
PyLaGriT is a Python interface for LaGriT that allows LaGriT functionality to be accessed interactively and in batch mode from Python. This allows the meshing capabilities of LaGriT to be combined with the numeric and scientific functionality of Python. PyLaGriT allows interactive and automated querying of mesh properties, enhanced looping functionality, and user defined error checking based on LaGriT output.
Building LaGriT
Download the repo by running:
git clone https://github.com/lanl/LaGriT.git
cd LaGriT
If you don't already have Exodus built on your system, run
make exodus
To build and test a shared, optimized LaGriT binary, run
make release
To build LaGriT without Exodus,
make WITH_EXODUS=0 release
or use target static
to build a static binary.
Finally, run
make test
to test build integrity.
More options are available by running make help
.
Supporting Documentation
- Installation
- GitHub pages
- lagrit.lanl.gov: Description and Manual
- PyLaGriT documentation
- Contribution Agreement for External Collaborators
- Copyright License