|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
CombinedSystem and combineSystems for composing independent physics into a coupled system. More...
#include <vector>#include <memory>#include <tuple>#include "smith/differentiable_numerics/system_base.hpp"#include "smith/differentiable_numerics/field_store.hpp"

Go to the source code of this file.
Classes | |
| struct | smith::CombinedSystem |
| A non-templated system wrapper that combines multiple sub-systems sharing one FieldStore. More... | |
Namespaces | |
| smith | |
| Accelerator functionality. | |
Functions | |
| template<typename... SubSystems> | |
| auto | smith::combineSystems (std::shared_ptr< SubSystems >... subs) |
| Combine two or more independently-built sub-systems into a CombinedSystem. More... | |
| template<typename... SubSystems> | |
| std::shared_ptr< SystemBase > | smith::combineSystems (std::shared_ptr< SystemSolver > solver, std::shared_ptr< SubSystems >... subs) |
| Combine two or more independently-built sub-systems into a single monolithic SystemBase. More... | |
CombinedSystem and combineSystems for composing independent physics into a coupled system.
Individual physics sub-systems (SolidMechanicsSystem, ThermalSystem, ...) remain authoritative for their own configuration APIs. combineSystems wires them together via a shared FieldStore and provides a coupled setMaterial that registers integrands on both sub-system weak forms.
Usage:
Definition in file combined_system.hpp.