Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
smith::PhysicsFields< Dim, Order, TimeRule, Spaces > Struct Template Reference

Fields returned by a physics register function, carrying time rule type information. More...

#include <coupling_params.hpp>

Public Types

using time_rule_type = TimeRule
 The time integration rule type.
 

Public Member Functions

 PhysicsFields (std::shared_ptr< FieldStore > fs, FieldType< Spaces >... f)
 Constructor.
 

Public Attributes

std::shared_ptr< FieldStorefield_store
 Pointer to the field store.
 
std::tuple< FieldType< Spaces >... > fields
 The fields.
 

Static Public Attributes

static constexpr int dim = Dim
 Spatial dimension.
 
static constexpr int order = Order
 Spatial order.
 
static constexpr std::size_t num_fields = sizeof...(Spaces)
 Number of fields.
 

Detailed Description

template<int Dim, int Order, typename TimeRule, typename... Spaces>
struct smith::PhysicsFields< Dim, Order, TimeRule, Spaces >

Fields returned by a physics register function, carrying time rule type information.

Doubles as a per-physics coupling segment: when supplied via couplingFields(...), the builder interpolates TimeRule::num_states raw arguments before passing the values to the user callback.

Definition at line 37 of file coupling_params.hpp.


The documentation for this struct was generated from the following file: