Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
MAST::StructuralSystemInitialization Class Reference

Detailed Description

Definition at line 34 of file structural_system_initialization.h.

#include <structural_system_initialization.h>

Inheritance diagram for MAST::StructuralSystemInitialization:
Collaboration diagram for MAST::StructuralSystemInitialization:

Public Member Functions

 StructuralSystemInitialization (MAST::NonlinearSystem &sys, const std::string &prefix, const libMesh::FEType &fe_type)
virtual ~StructuralSystemInitialization ()
libMesh::System & get_stress_sys ()
const std::vector< unsigned int > & get_stress_var_ids ()
- Public Member Functions inherited from MAST::SystemInitialization
 SystemInitialization (MAST::NonlinearSystem &sys, const std::string &prefix)
 initialize the variables in the provided system sys of order and family. More...
virtual ~SystemInitialization ()
 virtual destructor More...
const libMesh::FEType & fetype (unsigned int i) const
void initialize_solution (const RealVectorX &sol)
 initializes the FE solution vector to the constant solution provided in sol. More...
void initialize_solution (const MAST::FieldFunction< RealVectorX > &sol)
 initializes the FE solution vector to the function solution provided in sol. More...
unsigned int n_vars () const
const std::string & prefix () const
MAST::NonlinearSystemsystem ()
const MAST::NonlinearSystemsystem () const
const std::vector< unsigned int > vars () const

Protected Attributes

libMesh::System * _stress_output_sys
std::vector< unsigned int > _stress_vars
- Protected Attributes inherited from MAST::SystemInitialization
std::string _prefix
std::vector< unsigned int > _vars

Constructor & Destructor Documentation

◆ StructuralSystemInitialization()

MAST::StructuralSystemInitialization::StructuralSystemInitialization ( MAST::NonlinearSystem sys,
const std::string &  prefix,
const libMesh::FEType &  fe_type 

Definition at line 31 of file structural_system_initialization.cpp.

◆ ~StructuralSystemInitialization()

MAST::StructuralSystemInitialization::~StructuralSystemInitialization ( )

Definition at line 86 of file structural_system_initialization.cpp.

Member Function Documentation

◆ get_stress_sys()

libMesh::System& MAST::StructuralSystemInitialization::get_stress_sys ( )
a reference to libMesh::System that stores the stress variables

Definition at line 48 of file structural_system_initialization.h.

◆ get_stress_var_ids()

const std::vector<unsigned int>& MAST::StructuralSystemInitialization::get_stress_var_ids ( )
a reference to vector of strain-stress variable ids in the sequence $ \{ \epsilon_{xx}, \epsilon_{yy}, \epsilon_{zz}, \epsilon_{xy}, \epsilon_{yz}, \epsilon_{zx}, \sigma_{xx}, \sigma_{yy}, \sigma_{zz}, \sigma_{xy}, \sigma_{yz}, \sigma_{zx}, \sigma_{vm} \} $

Definition at line 63 of file structural_system_initialization.h.

Member Data Documentation

◆ _stress_output_sys

libMesh::System* MAST::StructuralSystemInitialization::_stress_output_sys

Definition at line 71 of file structural_system_initialization.h.

◆ _stress_vars

std::vector<unsigned int> MAST::StructuralSystemInitialization::_stress_vars

Definition at line 73 of file structural_system_initialization.h.

The documentation for this class was generated from the following files: