MAST
Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
internal_residual_sensitivity.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 "tests/base/test_comparisons.h"
#include "elasticity/structural_system_initialization.h"
#include "elasticity/structural_discipline.h"
#include "elasticity/piston_theory_boundary_condition.h"
#include "property_cards/solid_1d_section_element_property_card.h"
#include "property_cards/solid_2d_section_element_property_card.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 "base/nonlinear_system.h"
#include "libmesh/dof_map.h"
Include dependency graph for internal_residual_sensitivity.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (InternalForceJacobianNonlinearSensitivity1DIndependentOffset)
 
 BOOST_AUTO_TEST_CASE (InternalForceJacobianLinearSensitivity1DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (InternalForceJacobianNonlinearSensitivity1DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (InternalForceJacobianNonlinearSensitivity2DIndependentOffsetQUAD4)
 
 BOOST_AUTO_TEST_CASE (InternalForceJacobianLinearSensitivity2DIndependentOffsetTRI3)
 
 BOOST_AUTO_TEST_CASE (InternalForceJacobianNonlinearSensitivity2DIndependentOffsetTRI3)
 
 BOOST_AUTO_TEST_CASE (InternalForceJacobianLinearSensitivity2DDependentOffsetQUAD4)
 
 BOOST_AUTO_TEST_CASE (InternalForceJacobianNonlinearSensitivity2DDependentOffsetQUAD4)
 
 BOOST_AUTO_TEST_CASE (InternalForceJacobianLinearSensitivity2DDependentOffsetTRI3)
 
 BOOST_AUTO_TEST_CASE (InternalForceJacobianNonlinearSensitivity2DDependentOffsetTRI3)
 
 BOOST_FIXTURE_TEST_SUITE (Structural1DInternalForceSensitivity, MAST::BuildStructural1DElem) BOOST_AUTO_TEST_CASE(InternalForceJacobianLinearSensitivity1DIndependentOffset)
 
 BOOST_FIXTURE_TEST_SUITE (Structural2DInternalForceSensitivity, MAST::BuildStructural2DElem) BOOST_AUTO_TEST_CASE(InternalForceJacobianLinearSensitivity2DIndependentOffsetQUAD4)
 
template<typename ValType >
void check_internal_force_and_jacobian_sensitivity (ValType &v, const RealVectorX &x)
 
void set_deformation (const unsigned int dim, const unsigned int case_num, const libMesh::ElemType e_type, RealVectorX &vec)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/10]

BOOST_AUTO_TEST_CASE ( InternalForceJacobianNonlinearSensitivity1DIndependentOffset  )

Definition at line 177 of file internal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/10]

BOOST_AUTO_TEST_CASE ( InternalForceJacobianLinearSensitivity1DDependentOffset  )

Definition at line 193 of file internal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/10]

BOOST_AUTO_TEST_CASE ( InternalForceJacobianNonlinearSensitivity1DDependentOffset  )

Definition at line 220 of file internal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/10]

BOOST_AUTO_TEST_CASE ( InternalForceJacobianNonlinearSensitivity2DIndependentOffsetQUAD4  )

Definition at line 267 of file internal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/10]

BOOST_AUTO_TEST_CASE ( InternalForceJacobianLinearSensitivity2DIndependentOffsetTRI3  )

Definition at line 281 of file internal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/10]

BOOST_AUTO_TEST_CASE ( InternalForceJacobianNonlinearSensitivity2DIndependentOffsetTRI3  )

Definition at line 306 of file internal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/10]

BOOST_AUTO_TEST_CASE ( InternalForceJacobianLinearSensitivity2DDependentOffsetQUAD4  )

Definition at line 321 of file internal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/10]

BOOST_AUTO_TEST_CASE ( InternalForceJacobianNonlinearSensitivity2DDependentOffsetQUAD4  )

Definition at line 346 of file internal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/10]

BOOST_AUTO_TEST_CASE ( InternalForceJacobianLinearSensitivity2DDependentOffsetTRI3  )

Definition at line 360 of file internal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/10]

BOOST_AUTO_TEST_CASE ( InternalForceJacobianNonlinearSensitivity2DDependentOffsetTRI3  )

Definition at line 386 of file internal_residual_sensitivity.cpp.

◆ BOOST_FIXTURE_TEST_SUITE() [1/2]

BOOST_FIXTURE_TEST_SUITE ( Structural1DInternalForceSensitivity  ,
MAST::BuildStructural1DElem   
)

Definition at line 146 of file internal_residual_sensitivity.cpp.

◆ BOOST_FIXTURE_TEST_SUITE() [2/2]

BOOST_FIXTURE_TEST_SUITE ( Structural2DInternalForceSensitivity  ,
MAST::BuildStructural2DElem   
)

Definition at line 238 of file internal_residual_sensitivity.cpp.

◆ check_internal_force_and_jacobian_sensitivity()

template<typename ValType >
void check_internal_force_and_jacobian_sensitivity ( ValType &  v,
const RealVectorX x 
)

Definition at line 52 of file internal_residual_sensitivity.cpp.

◆ set_deformation()

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

Definition at line 50 of file stress_evaluations.cpp.