Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
Public Member Functions | Public Attributes | List of all members
smith::FieldType< Space, Time > Struct Template Reference

Representation of a field type with a name and an optional unknown index. More...

#include <field_store.hpp>

Public Member Functions

 FieldType (std::string n, int unknown_index_=-1)
 Construct a new FieldType object. More...
 

Public Attributes

std::string name
 Name of the field.
 
int unknown_index
 Index of the unknown in the solver.
 

Detailed Description

template<typename Space, typename Time = void*>
struct smith::FieldType< Space, Time >

Representation of a field type with a name and an optional unknown index.

Template Parameters
SpaceThe finite element space type.
TimeThe time integration type (unused by default).

Definition at line 30 of file field_store.hpp.

Constructor & Destructor Documentation

◆ FieldType()

template<typename Space , typename Time = void*>
smith::FieldType< Space, Time >::FieldType ( std::string  n,
int  unknown_index_ = -1 
)
inline

Construct a new FieldType object.

Parameters
nName of the field.
unknown_index_Index of the unknown in the solver (default: -1).

Definition at line 36 of file field_store.hpp.


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