-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
180 changed files
with
64,559 additions
and
28,240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Ubuntu Build | ||
|
||
on: workflow_dispatch | ||
|
||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: update the package list | ||
run: | ||
sudo apt-get update | ||
shell: bash | ||
- name: Install build tools | ||
run: | ||
sudo apt-get install build-essential | ||
shell: bash | ||
- name: Install LaPack | ||
run: | ||
sudo apt-get install libblas-dev liblapack-dev | ||
shell: bash | ||
- name: Install MPI | ||
run: | | ||
sudo apt-get install libopenmpi-dev openmpi-bin | ||
echo "MPI_OPTS=--oversubscribe" >> $GITHUB_ENV | ||
- name: Install cmake | ||
run: | ||
sudo apt-get -y install cmake | ||
shell: bash | ||
- name: Install python | ||
run: | ||
sudo apt-get install python3.6 | ||
shell: bash | ||
- name: Run build script | ||
run: | | ||
chmod +x ./scripts/build-fierro.sh | ||
./scripts/build-fierro.sh --build_action=full-app --solver=all --kokkos_build_type=openmp --build_cores=2 | ||
shell: bash | ||
|
||
- name: Run tests | ||
run: | | ||
python3 test_fierro.py | ||
working-directory: ./integrated-tests/Test-scripts | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule uncrustify
added at
e312b0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
///////////////////////////////////////////////////////////////////////////// | ||
/// | ||
/// \class $(class) | ||
/// | ||
/// \brief <insert brief description> | ||
/// | ||
/// < Insert longer more detailed | ||
/// description which can span | ||
/// multiple lines if needed > | ||
/// | ||
///////////////////////////////////////////////////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
///////////////////////////////////////////////////////////////////////////// | ||
/// | ||
/// \fn $(function) | ||
/// | ||
/// \brief <insert brief description> | ||
/// | ||
/// <Insert longer more detailed description which | ||
/// can span multiple lines if needed> | ||
/// | ||
/// \param <function parameter description> | ||
/// \param <function parameter description> | ||
/// \param <function parameter description> | ||
/// | ||
/// \return <return type and definition description if not void> | ||
/// | ||
///////////////////////////////////////////////////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/********************************************************************************************** | ||
© 2020. Triad National Security, LLC. All rights reserved. | ||
This program was produced under U.S. Government contract 89233218CNA000001 for Los Alamos | ||
National Laboratory (LANL), which is operated by Triad National Security, LLC for the U.S. | ||
Department of Energy/National Nuclear Security Administration. All rights in the program are | ||
reserved by Triad National Security, LLC, and the U.S. Department of Energy/National Nuclear | ||
Security Administration. The Government is granted for itself and others acting on its behalf a | ||
nonexclusive, paid-up, irrevocable worldwide license in this material to reproduce, prepare | ||
derivative works, distribute copies to the public, perform publicly and display publicly, and | ||
to permit others to do so. | ||
This program is open source under the BSD-3 License. | ||
Redistribution and use in source and binary forms, with or without modification, are permitted | ||
provided that the following conditions are met: | ||
1. Redistributions of source code must retain the above copyright notice, this list of | ||
conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright notice, this list of | ||
conditions and the following disclaimer in the documentation and/or other materials | ||
provided with the distribution. | ||
3. Neither the name of the copyright holder nor the names of its contributors may be used | ||
to endorse or promote products derived from this software without specific prior | ||
written permission. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS | ||
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR | ||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | ||
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
**********************************************************************************************/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
integrated-tests/Test-scripts/Solver-Inputs/SGH_Noh_simple.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
num_dims: 3 | ||
dynamic_options: | ||
time_final: 0.6 | ||
dt_min: 1.e-8 | ||
dt_max: 1.e-2 | ||
dt_start: 1.e-5 | ||
cycle_stop: 2000000 | ||
|
||
mesh_generation_options: | ||
type: Box | ||
origin: [0, 0, 0] | ||
length: [1.0, 1.0, 1.0] | ||
num_elems: [10, 10, 10] | ||
|
||
output_options: | ||
timer_output_level: thorough | ||
output_file_format: vtk | ||
graphics_step: 0.6 | ||
write_initial: false | ||
write_final: true | ||
|
||
|
||
fea_module_parameters: | ||
- type: SGH | ||
material_id: 0 | ||
boundary_conditions: | ||
# Tag X plane | ||
- surface: | ||
type: x_plane | ||
plane_position: 0.0 | ||
type: reflected | ||
|
||
# Tag Y plane | ||
- surface: | ||
type: y_plane | ||
plane_position: 0.0 | ||
type: reflected | ||
|
||
# Tag Z plane | ||
- surface: | ||
type: z_plane | ||
plane_position: 0.0 | ||
type: reflected | ||
|
||
|
||
materials: | ||
- id: 0 | ||
eos_model: ideal_gas | ||
strength_model: none | ||
elastic_modulus: 10 | ||
poisson_ratio: 0.3 | ||
q1: 0.06 | ||
q2: 1.2 | ||
q1ex: 0.06 | ||
q2ex: 1.2 | ||
eos_global_vars: | ||
- 1.666666666666667 | ||
- 1.0E-14 | ||
- 1.0 | ||
|
||
regions: | ||
- volume: | ||
type: global | ||
material_id: 0 | ||
den: 1.0 | ||
sie: 1.e-10 | ||
|
||
velocity: spherical | ||
speed: -1.0 | ||
|
82 changes: 82 additions & 0 deletions
82
integrated-tests/Test-scripts/Solver-Inputs/SGH_Sedov_simple.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
num_dims: 3 | ||
dynamic_options: | ||
time_final: 1.0 | ||
dt_min: 1.e-8 | ||
dt_max: 1.e-2 | ||
dt_start: 1.e-5 | ||
cycle_stop: 2000000 | ||
|
||
mesh_generation_options: | ||
type: Box | ||
origin: [0, 0, 0] | ||
length: [1.2, 1.2, 1.2] | ||
num_elems: [12, 12, 12] | ||
|
||
output_options: | ||
timer_output_level: thorough | ||
output_file_format: vtk | ||
graphics_step: 1.0 | ||
write_initial: false | ||
write_final: true | ||
|
||
fea_module_parameters: | ||
- type: SGH | ||
material_id: 0 | ||
boundary_conditions: | ||
# Tag X plane | ||
- surface: | ||
type: x_plane | ||
plane_position: 0.0 | ||
type: reflected | ||
|
||
# Tag Y plane | ||
- surface: | ||
type: y_plane | ||
plane_position: 0.0 | ||
type: reflected | ||
|
||
# Tag Z plane | ||
- surface: | ||
type: z_plane | ||
plane_position: 0.0 | ||
type: reflected | ||
|
||
|
||
materials: | ||
- id: 0 | ||
eos_model: ideal_gas | ||
strength_model: none | ||
elastic_modulus: 10 | ||
poisson_ratio: 0.3 | ||
q1: 0.06 | ||
q2: 1.0 | ||
q1ex: 0.06 | ||
q2ex: 1.0 | ||
eos_global_vars: | ||
- 1.666666666666667 | ||
- 1.0E-14 | ||
- 1.0 | ||
|
||
regions: | ||
- volume: | ||
type: global | ||
material_id: 0 | ||
den: 1.0 | ||
sie: 1.e-10 | ||
|
||
velocity: cartesian | ||
u: 0.0 | ||
v: 0.0 | ||
w: 0.0 | ||
# energy source initial conditions | ||
- volume: | ||
type: sphere | ||
radius1: 0.0 | ||
radius2: 0.1 | ||
material_id: 0 | ||
den: 1.0 | ||
ie: 0.25833839995946534 | ||
velocity: cartesian | ||
u: 0.0 | ||
v: 0.0 | ||
w: 0.0 |
Oops, something went wrong.