MAST
Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
stress_evaluations.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "tests/structural/build_structural_elem_1D.h"
#include "tests/structural/build_structural_elem_2D.h"
#include "property_cards/solid_1d_section_element_property_card.h"
#include "property_cards/solid_2d_section_element_property_card.h"
#include "tests/base/test_comparisons.h"
#include "elasticity/structural_system_initialization.h"
#include "elasticity/structural_discipline.h"
#include "elasticity/piston_theory_boundary_condition.h"
#include "base/parameter.h"
#include "base/constant_field_function.h"
#include "property_cards/isotropic_material_property_card.h"
#include "elasticity/structural_element_base.h"
#include "elasticity/stress_output_base.h"
#include "base/nonlinear_system.h"
#include "libmesh/dof_map.h"
#include "libmesh/elem.h"
#include "libmesh/edge_edge2.h"
Include dependency graph for stress_evaluations.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (VonMisesStress)
 
 BOOST_AUTO_TEST_CASE (StressLinear1DIndependentOffset)
 
 BOOST_AUTO_TEST_CASE (StressNonlinear1DIndependentOffset)
 
 BOOST_AUTO_TEST_CASE (StressLinear1DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (StressNonlinear1DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (StressLinear2DIndependentOffsetQUAD4)
 
 BOOST_AUTO_TEST_CASE (Stress2DNonlinearIndependentOffsetQUAD4)
 
 BOOST_AUTO_TEST_CASE (StressLinear2DIndependentOffsetTRI3)
 
 BOOST_AUTO_TEST_CASE (StressNonlinear2DIndependentOffsetTRI3)
 
 BOOST_AUTO_TEST_CASE (StressLinear2DDependentOffsetQUAD4)
 
 BOOST_AUTO_TEST_CASE (StressNonlinear2DDependentOffsetQUAD4)
 
 BOOST_AUTO_TEST_CASE (StressLinear2DDependentOffsetTRI3)
 
 BOOST_AUTO_TEST_CASE (StressNonlinear2DDependentOffsetTRI3)
 
template<typename ValType >
void check_stress (ValType &v, const RealVectorX &x0)
 
void set_deformation (const unsigned int dim, const unsigned int case_num, const libMesh::ElemType e, RealVectorX &vec)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/13]

BOOST_AUTO_TEST_CASE ( VonMisesStress  )

Definition at line 483 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/13]

BOOST_AUTO_TEST_CASE ( StressLinear1DIndependentOffset  )

Definition at line 599 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/13]

BOOST_AUTO_TEST_CASE ( StressNonlinear1DIndependentOffset  )

Definition at line 624 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/13]

BOOST_AUTO_TEST_CASE ( StressLinear1DDependentOffset  )

Definition at line 638 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/13]

BOOST_AUTO_TEST_CASE ( StressNonlinear1DDependentOffset  )

Definition at line 662 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/13]

BOOST_AUTO_TEST_CASE ( StressLinear2DIndependentOffsetQUAD4  )

Definition at line 680 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/13]

BOOST_AUTO_TEST_CASE ( Stress2DNonlinearIndependentOffsetQUAD4  )

Definition at line 702 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/13]

BOOST_AUTO_TEST_CASE ( StressLinear2DIndependentOffsetTRI3  )

Definition at line 715 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/13]

BOOST_AUTO_TEST_CASE ( StressNonlinear2DIndependentOffsetTRI3  )

Definition at line 737 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/13]

BOOST_AUTO_TEST_CASE ( StressLinear2DDependentOffsetQUAD4  )

Definition at line 750 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/13]

BOOST_AUTO_TEST_CASE ( StressNonlinear2DDependentOffsetQUAD4  )

Definition at line 772 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/13]

BOOST_AUTO_TEST_CASE ( StressLinear2DDependentOffsetTRI3  )

Definition at line 785 of file stress_evaluations.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/13]

BOOST_AUTO_TEST_CASE ( StressNonlinear2DDependentOffsetTRI3  )

Definition at line 808 of file stress_evaluations.cpp.

◆ check_stress()

template<typename ValType >
void check_stress ( ValType &  v,
const RealVectorX x0 
)

Definition at line 171 of file stress_evaluations.cpp.

◆ set_deformation()

void set_deformation ( const unsigned int  dim,
const unsigned int  case_num,
const libMesh::ElemType  e,
RealVectorX vec 
)

Definition at line 50 of file stress_evaluations.cpp.