-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 5df557f 🚀
- Loading branch information
0 parents
commit cb80dd5
Showing
14,443 changed files
with
3,342,394 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 9a3d4214e6a2e49bf4ab0dce6f4aa92a | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
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,88 @@ | ||
name: Nalu-Wind-CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
Formatting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Check formatting | ||
uses: DoozyX/[email protected] | ||
with: | ||
source: 'nalu.C unit_tests.C ./include ./src ./unit_tests' | ||
extensions: 'H,h,cpp,C' | ||
clangFormatVersion: 18 | ||
CPU-Trilinos: | ||
needs: Formatting | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ecpe4s/exawind-snapshot | ||
env: | ||
EXAWIND_MANAGER: /exawind-manager | ||
E4S_MACHINE: true | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{github.token}} | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Tests | ||
run: | | ||
/bin/bash -c " \ | ||
source ${EXAWIND_MANAGER}/start.sh && \ | ||
mkdir -p ${EXAWIND_MANAGER}/environments/exawind && \ | ||
cd ${EXAWIND_MANAGER}/environments/exawind && \ | ||
ln -s ${GITHUB_WORKSPACE} nalu-wind && \ | ||
spack-start && \ | ||
spack -e e4s-build config add view:true && \ | ||
spack -e e4s-build add cmake && \ | ||
spack -e e4s-build install && \ | ||
quick-create-dev -s nalu-wind@master+tioga+hypre && \ | ||
spack manager external ${EXAWIND_MANAGER}/environments/e4s-build --exclude nalu-wind && \ | ||
spack install && \ | ||
spack cd -b nalu-wind && \ | ||
spack build-env nalu-wind ctest -j $(nproc) -L unit --output-on-failure \ | ||
" | ||
CPU-Hypre-Only: | ||
needs: Formatting | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ecpe4s/exawind-snapshot | ||
env: | ||
EXAWIND_MANAGER: /exawind-manager | ||
E4S_MACHINE: true | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{github.token}} | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Tests | ||
run: | | ||
/bin/bash -c " \ | ||
source ${EXAWIND_MANAGER}/start.sh && \ | ||
mkdir -p ${EXAWIND_MANAGER}/environments/exawind && \ | ||
cd ${EXAWIND_MANAGER}/environments/exawind && \ | ||
ln -s ${GITHUB_WORKSPACE} nalu-wind && \ | ||
spack-start && \ | ||
spack -e e4s-build config add view:true && \ | ||
spack -e e4s-build add cmake && \ | ||
spack -e e4s-build install && \ | ||
quick-create-dev -s nalu-wind@master+tioga+hypre~trilinos-solvers && \ | ||
spack manager external ${EXAWIND_MANAGER}/environments/e4s-build --exclude nalu-wind && \ | ||
spack install && \ | ||
spack cd -b nalu-wind && \ | ||
spack build-env nalu-wind ctest -j $(nproc) -L unit --output-on-failure \ | ||
" |
Empty file.
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,105 @@ | ||
/** @file example.h | ||
* @brief Brief description of a documented file. | ||
* | ||
* Longer description of a documented file. | ||
*/ | ||
|
||
/** Here is a brief description of the example class. | ||
* | ||
* This is a more in-depth description of the class. | ||
* This class is meant as an example. | ||
* It is not useful by itself, rather its usefulness is only a | ||
* function of how much it helps the reader. It is in a sense | ||
* defined by the person who reads it and otherwise does | ||
* not exist in any real form. | ||
* | ||
* @note This is a note. | ||
* | ||
*/ | ||
|
||
#ifndef EXAMPLECLASS_H | ||
#define EXAMPLECLASS_H | ||
|
||
class ExampleClass | ||
{ | ||
|
||
public: | ||
/// Create an ExampleClass. | ||
ExampleClass(); | ||
|
||
/** Create an ExampleClass with lot's of intial values. | ||
* | ||
* @param a This is a description of parameter a. | ||
* @param b This is a description of parameter b. | ||
* | ||
* The distance between \f$(x_1,y_1)\f$ and \f$(x_2,y_2)\f$ is | ||
* \f$\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\f$. | ||
*/ | ||
ExampleClass(int a, float b); | ||
|
||
/** ExampleClass destructor description. | ||
*/ | ||
~ExampleClass(); | ||
|
||
/// This method does something. | ||
void DoSomething(); | ||
|
||
/** | ||
* This is a method that does so | ||
* much that I must write an epic | ||
* novel just to describe how much | ||
* it truly does. | ||
*/ | ||
void DoNothing(); | ||
|
||
/** Brief description of a useful method. | ||
* @param level An integer setting how useful to be. | ||
* @return Description of the output. | ||
* | ||
* This method does unbelievably useful things. | ||
* And returns exceptionally useful results. | ||
* Use it everyday with good health. | ||
* \f[ | ||
* |I_2|=\left| \int_{0}^T \psi(t) | ||
* \left\{ | ||
* u(a,t)- | ||
* \int_{\gamma(t)}^a | ||
* \frac{d\theta}{k(\theta,t)} | ||
* \int_{a}^\theta c(\xi)u_t(\xi,t)\,d\xi | ||
* \right\} dt | ||
* \right| | ||
* \f] | ||
*/ | ||
void* VeryUsefulMethod(bool level); | ||
|
||
/** Brief description of a useful method. | ||
* @param level An integer setting how useful to be. | ||
* @return Description of the output. | ||
* | ||
* - Item 1 | ||
* | ||
* More text for this item. | ||
* | ||
* - Item 2 | ||
* + nested list item. | ||
* + another nested item. | ||
* - Item 3 | ||
* | ||
* # Markdown Example | ||
* [Here is a link.](http://www.google.com/) | ||
*/ | ||
void* AnotherMethod(bool level); | ||
|
||
protected: | ||
/** The protected methods can be documented and extracted too. | ||
* | ||
*/ | ||
void SomeProtectedMethod(); | ||
|
||
private: | ||
const char* fQuestion; ///< The question | ||
int fAnswer; ///< The answer | ||
|
||
}; // End of class ExampleClass | ||
|
||
#endif // EXAMPLE_H |
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,102 @@ | ||
# -*- mode: yaml -*- | ||
# | ||
# Example Nalu input file for a heat conduction problem | ||
# | ||
|
||
Simulations: | ||
- name: sim1 | ||
time_integrator: ti_1 | ||
optimizer: opt1 | ||
|
||
linear_solvers: | ||
- name: solve_scalar | ||
type: tpetra | ||
method: gmres | ||
preconditioner: sgs | ||
tolerance: 1e-3 | ||
max_iterations: 75 | ||
kspace: 75 | ||
output_level: 0 | ||
|
||
realms: | ||
|
||
- name: realm_1 | ||
mesh: periodic3d.g | ||
use_edges: no | ||
automatic_decomposition_type: rcb | ||
|
||
equation_systems: | ||
name: theEqSys | ||
max_iterations: 2 | ||
|
||
solver_system_specification: | ||
temperature: solve_scalar | ||
|
||
systems: | ||
- HeatConduction: | ||
name: myHC | ||
max_iterations: 1 | ||
convergence_tolerance: 1e-5 | ||
|
||
initial_conditions: | ||
|
||
- constant: ic_1 | ||
target_name: block_1 | ||
value: | ||
temperature: 10.0 | ||
|
||
material_properties: | ||
target_name: block_1 | ||
specifications: | ||
- name: density | ||
type: constant | ||
value: 1.0 | ||
- name: thermal_conductivity | ||
type: constant | ||
value: 1.0 | ||
- name: specific_heat | ||
type: constant | ||
value: 1.0 | ||
|
||
boundary_conditions: | ||
|
||
- wall_boundary_condition: bc_left | ||
target_name: surface_1 | ||
wall_user_data: | ||
temperature: 20.0 | ||
|
||
|
||
- wall_boundary_condition: bc_right | ||
target_name: surface_2 | ||
wall_user_data: | ||
temperature: 40.0 | ||
|
||
solution_options: | ||
name: myOptions | ||
|
||
use_consolidated_solver_algorithm: yes | ||
|
||
options: | ||
- element_source_terms: | ||
temperature: FEM_DIFF | ||
|
||
output: | ||
output_data_base_name: femHC.e | ||
output_frequency: 10 | ||
output_node_set: no | ||
output_variables: | ||
- dual_nodal_volume | ||
- temperature | ||
|
||
Time_Integrators: | ||
- StandardTimeIntegrator: | ||
name: ti_1 | ||
start_time: 0 | ||
termination_step_count: 25 | ||
time_step: 10.0 | ||
time_stepping_type: fixed | ||
time_step_count: 0 | ||
second_order_accuracy: no | ||
|
||
realms: | ||
- realm_1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
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,12 @@ | ||
Nalu-Wind Documentation | ||
======================= | ||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
Nalu-Wind Homepage <https://github.com/Exawind/nalu-wind> | ||
Nalu-Wind Nightly Test Results <http://my.cdash.org/index.php?project=Exawind> | ||
User Manual <source/user/index.rst> | ||
Developer Manual <source/developer/index.rst> | ||
Theory Manual <source/theory/index.rst> | ||
Verification Manual <source/verification/index.rst> | ||
zrefs.rst |
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,47 @@ | ||
Building the Documentation | ||
========================== | ||
|
||
This document describes how to build Nalu-Wind's documentation. | ||
The documentation is based on the use of Doxygen, Sphinx, | ||
and Doxylink. Therefore we will need to install these tools | ||
as well as some extensions of Sphinx that are utilized. | ||
|
||
Install the Tools | ||
----------------- | ||
|
||
Install CMake, Doxygen, Sphinx, Doxylink, and the | ||
extensions used. Doxygen uses the ``dot`` application | ||
installed with GraphViz. Sphinx uses a combination | ||
of extensions installed with ``pip install`` as well as some | ||
that come with Nalu-Wind located in the ``_extensions`` | ||
directory. Using Homebrew on Mac OS X, | ||
this would look something like: | ||
|
||
:: | ||
|
||
brew install cmake | ||
brew install python | ||
brew install doxygen | ||
brew install graphviz | ||
pip2 install sphinx | ||
pip2 install sphinxcontrib-bibtex | ||
pip2 install breathe | ||
pip2 install sphinx_rtd_theme | ||
|
||
On Linux, CMake, Python, Doxygen, and GraphViz could be installed | ||
using your package manager, e.g. ``sudo apt-get install cmake``. | ||
|
||
Build the Docs | ||
-------------- | ||
|
||
In the `Nalu-Wind repository <https://github.com/Exawind/nalu-wind>`__ checkout, execute: | ||
|
||
:: | ||
|
||
sphinx-build -M html ./docs/sphinx ./build_docs/manual -W --keep-going -n | ||
doxygen ./docs/doxygen/Doxyfile | ||
|
||
If all of the main tools are found successfully, the command will | ||
complete successfully and the entry point to the documentation should | ||
be in ``build_docs/manual/html/index.html`` for the manual and | ||
``build_docs/doxygen/html/index.html`` for the source code. |
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 @@ | ||
Contributing to Nalu-Wind | ||
========================= | ||
|
||
1. There is no rush to push. We only support production tested capability. Better yet, peform code verification and unit testing. | ||
|
||
2. Always run the full regression test suite. No exceptions. | ||
|
||
3. Peer review when fully appropriate (ask for a pull request). | ||
|
||
4. If adding a new feature, include a regression test for this feature. Refer to the section of this documentation on adding a test :ref:`here <add-test>`. | ||
|
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,13 @@ | ||
Developer Manual | ||
================ | ||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
Testing Nalu-Wind <testing.rst> | ||
How to Document Source Code <write_developer_doc.rst> | ||
How to Write User Documentation <write_user_doc.rst> | ||
Building the Documentation <build_doc.rst> | ||
Developer Workflow Best Practices <workflow.rst> | ||
Code Style Guide <style.rst> | ||
Contributing <contrib.rst> | ||
Project Development Infrastructure <infra.rst> |
Oops, something went wrong.