|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
Smith: nonlinear implicit thermal-structural driver. More...
#include <fstream>#include <iostream>#include <memory>#include <string>#include "axom/core.hpp"#include "mfem.hpp"#include "smith/infrastructure/about.hpp"#include "smith/infrastructure/cli.hpp"#include "smith/infrastructure/input.hpp"#include "smith/infrastructure/logger.hpp"#include "smith/infrastructure/output.hpp"#include "smith/infrastructure/application_manager.hpp"#include "smith/mesh_utils/mesh_utils.hpp"#include "smith/physics/solid_mechanics.hpp"#include "smith/physics/heat_transfer.hpp"#include "smith/numerics/equation_solver.hpp"#include "smith/physics/state/state_manager.hpp"#include "smith/smith_config.hpp"
Go to the source code of this file.
Namespaces | |
| smith | |
| Accelerator functionality. | |
Functions | |
| void | smith::defineInputFileSchema (axom::inlet::Inlet &inlet) |
| Define the input file structure for the driver code. More... | |
| std::unique_ptr< smith::BasePhysics > | createPhysics (int dim, int order, std::optional< smith::SolidMechanicsInputOptions > solid_mechanics_options, std::optional< smith::HeatTransferInputOptions > heat_transfer_options, std::string mesh_tag, int cycle, double t) |
| Constructs the appropriate physics object using the input file options. More... | |
| int | getOrder (std::optional< smith::SolidMechanicsInputOptions > solid_mechanics_options, std::optional< smith::HeatTransferInputOptions > heat_transfer_options) |
| Return and check correctness of the order of discretization. More... | |
| int | main (int argc, char *argv[]) |
| The main smith driver code. More... | |
Smith: nonlinear implicit thermal-structural driver.
The purpose of this code is to act as a proxy app for nonlinear implicit mechanics codes at LLNL.
Definition in file smith.cpp.
| std::unique_ptr<smith::BasePhysics> createPhysics | ( | int | dim, |
| int | order, | ||
| std::optional< smith::SolidMechanicsInputOptions > | solid_mechanics_options, | ||
| std::optional< smith::HeatTransferInputOptions > | heat_transfer_options, | ||
| std::string | mesh_tag, | ||
| int | cycle, | ||
| double | t | ||
| ) |
Constructs the appropriate physics object using the input file options.
| [in] | order | The order of the discretization |
| [in] | dim | The spatial dimension of the mesh |
| [in] | solid_mechanics_options | Optional container of input options for SolidMechanics physics module |
| [in] | heat_transfer_options | Optional container of input options for HeatTransfer physics module |
| [in] | mesh_tag | The mesh tag to construct the physics class on |
| [in] | cycle | The simulation timestep cycle to start the physics module at |
| [in] | t | The simulation time to start the physics module at |
| int getOrder | ( | std::optional< smith::SolidMechanicsInputOptions > | solid_mechanics_options, |
| std::optional< smith::HeatTransferInputOptions > | heat_transfer_options | ||
| ) |
Return and check correctness of the order of discretization.
| [in] | solid_mechanics_options | Optional container of input options for SolidMechanics physics module |
| [in] | heat_transfer_options | Optional container of input options for HeatTransfer physics module |