MAST
Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
thermal_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 "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 "base/nonlinear_system.h"
#include "libmesh/dof_map.h"
Include dependency graph for thermal_residual_sensitivity.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (ThermalResidualNonlinear1DIndependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalResidualLinear1DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalResidualNonlinear1DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalForceNonlinearSensitivity1DIndependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalForceLinearSensitivity1DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalForceNonlinearSensitivity1DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalResidualLinearTRI32DIndependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalResidualNonlinearQUAD42DIndependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalResidualNonlinearTRI32DIndependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalResidualLinearQUAD42DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalResidualLinearTRI32DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalResidualNonlinearQUAD42DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalResidualNonlinearTRI32DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalForceLinearSensitivityTRI32DIndependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalForceNonlinearSensitivityQUAD42DIndependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalForceNonlinearSensitivityTRI32DIndependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalForceLinearSensitivityQUAD42DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalForceLinearSensitivityTRI32DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalForceNonlinearSensitivityQUAD42DDependentOffset)
 
 BOOST_AUTO_TEST_CASE (ThermalForceNonlinearSensitivityTRI32DDependentOffset)
 
 BOOST_FIXTURE_TEST_SUITE (Structural1DJacobianEvaluation, MAST::BuildStructural1DElem) BOOST_AUTO_TEST_CASE(ThermalResidualLinear1DIndependentOffset)
 
 BOOST_FIXTURE_TEST_SUITE (Structural1DThermalForceSensitivity, MAST::BuildStructural1DElem) BOOST_AUTO_TEST_CASE(ThermalForceLinearSensitivity1DIndependentOffset)
 
 BOOST_FIXTURE_TEST_SUITE (Structural2DJacobianEvaluation, MAST::BuildStructural2DElem) BOOST_AUTO_TEST_CASE(ThermalResidualLinearQUAD42DIndependentOffset)
 
 BOOST_FIXTURE_TEST_SUITE (Structural2DThermalForceSensitivity, MAST::BuildStructural2DElem) BOOST_AUTO_TEST_CASE(ThermalForceLinearSensitivityQUAD42DIndependentOffset)
 
template<typename ValType >
void check_thermal_force_and_jacobian_sensitivity (ValType &v, const RealVectorX &x)
 
template<typename ValType >
void check_thermal_residual_force_jacobian (ValType &v, const RealVectorX &sol)
 
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/20]

BOOST_AUTO_TEST_CASE ( ThermalResidualNonlinear1DIndependentOffset  )

Definition at line 307 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/20]

BOOST_AUTO_TEST_CASE ( ThermalResidualLinear1DDependentOffset  )

Definition at line 318 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/20]

BOOST_AUTO_TEST_CASE ( ThermalResidualNonlinear1DDependentOffset  )

Definition at line 329 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/20]

BOOST_AUTO_TEST_CASE ( ThermalForceNonlinearSensitivity1DIndependentOffset  )

Definition at line 374 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/20]

BOOST_AUTO_TEST_CASE ( ThermalForceLinearSensitivity1DDependentOffset  )

Definition at line 389 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/20]

BOOST_AUTO_TEST_CASE ( ThermalForceNonlinearSensitivity1DDependentOffset  )

Definition at line 418 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/20]

BOOST_AUTO_TEST_CASE ( ThermalResidualLinearTRI32DIndependentOffset  )

Definition at line 453 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/20]

BOOST_AUTO_TEST_CASE ( ThermalResidualNonlinearQUAD42DIndependentOffset  )

Definition at line 464 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/20]

BOOST_AUTO_TEST_CASE ( ThermalResidualNonlinearTRI32DIndependentOffset  )

Definition at line 475 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/20]

BOOST_AUTO_TEST_CASE ( ThermalResidualLinearQUAD42DDependentOffset  )

Definition at line 486 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/20]

BOOST_AUTO_TEST_CASE ( ThermalResidualLinearTRI32DDependentOffset  )

Definition at line 497 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/20]

BOOST_AUTO_TEST_CASE ( ThermalResidualNonlinearQUAD42DDependentOffset  )

Definition at line 508 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/20]

BOOST_AUTO_TEST_CASE ( ThermalResidualNonlinearTRI32DDependentOffset  )

Definition at line 519 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/20]

BOOST_AUTO_TEST_CASE ( ThermalForceLinearSensitivityTRI32DIndependentOffset  )

Definition at line 565 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/20]

BOOST_AUTO_TEST_CASE ( ThermalForceNonlinearSensitivityQUAD42DIndependentOffset  )

Definition at line 594 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/20]

BOOST_AUTO_TEST_CASE ( ThermalForceNonlinearSensitivityTRI32DIndependentOffset  )

Definition at line 610 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/20]

BOOST_AUTO_TEST_CASE ( ThermalForceLinearSensitivityQUAD42DDependentOffset  )

Definition at line 627 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/20]

BOOST_AUTO_TEST_CASE ( ThermalForceLinearSensitivityTRI32DDependentOffset  )

Definition at line 655 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/20]

BOOST_AUTO_TEST_CASE ( ThermalForceNonlinearSensitivityQUAD42DDependentOffset  )

Definition at line 684 of file thermal_residual_sensitivity.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/20]

BOOST_AUTO_TEST_CASE ( ThermalForceNonlinearSensitivityTRI32DDependentOffset  )

Definition at line 700 of file thermal_residual_sensitivity.cpp.

◆ BOOST_FIXTURE_TEST_SUITE() [1/4]

BOOST_FIXTURE_TEST_SUITE ( Structural1DJacobianEvaluation  ,
MAST::BuildStructural1DElem   
)

Definition at line 293 of file thermal_residual_sensitivity.cpp.

◆ BOOST_FIXTURE_TEST_SUITE() [2/4]

BOOST_FIXTURE_TEST_SUITE ( Structural1DThermalForceSensitivity  ,
MAST::BuildStructural1DElem   
)

Definition at line 343 of file thermal_residual_sensitivity.cpp.

◆ BOOST_FIXTURE_TEST_SUITE() [3/4]

BOOST_FIXTURE_TEST_SUITE ( Structural2DJacobianEvaluation  ,
MAST::BuildStructural2DElem   
)

Definition at line 438 of file thermal_residual_sensitivity.cpp.

◆ BOOST_FIXTURE_TEST_SUITE() [4/4]

BOOST_FIXTURE_TEST_SUITE ( Structural2DThermalForceSensitivity  ,
MAST::BuildStructural2DElem   
)

Definition at line 534 of file thermal_residual_sensitivity.cpp.

◆ check_thermal_force_and_jacobian_sensitivity()

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

Definition at line 177 of file thermal_residual_sensitivity.cpp.

◆ check_thermal_residual_force_jacobian()

template<typename ValType >
void check_thermal_residual_force_jacobian ( ValType &  v,
const RealVectorX sol 
)

Definition at line 55 of file thermal_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.