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

Detailed Description

Definition at line 32 of file structural_transient_assembly.h.

#include <structural_transient_assembly.h>

Inheritance diagram for MAST::StructuralTransientAssemblyElemOperations:
Collaboration diagram for MAST::StructuralTransientAssemblyElemOperations:

Public Member Functions

 StructuralTransientAssemblyElemOperations ()
 constructor associates this assembly object with the system More...
 
virtual ~StructuralTransientAssemblyElemOperations ()
 destructor resets the association of this assembly object with the system More...
 
virtual void elem_calculations (bool if_jac, RealVectorX &f_m, RealVectorX &f_x, RealMatrixX &f_m_jac_x_dot, RealMatrixX &f_m_jac, RealMatrixX &f_x_jac)
 This call for first order ode should not be used for this transient assembly. More...
 
virtual void elem_calculations (bool if_jac, RealVectorX &f_m, RealVectorX &f_x, RealMatrixX &f_m_jac_xddot, RealMatrixX &f_m_jac_xdot, RealMatrixX &f_m_jac, RealMatrixX &f_x_jac_xdot, RealMatrixX &f_x_jac)
 performs the element calculations over elem, and returns the element vector and matrix quantities in mat and vec, respectively. More...
 
virtual void elem_second_derivative_dot_solution_assembly (RealMatrixX &mat)
 calculates $ d ([J] \{\Delta X\})/ dX $ over elem, and returns the matrix in vec . More...
 
virtual void elem_sensitivity_calculations (const MAST::FunctionBase &f, RealVectorX &f_m, RealVectorX &f_x)
 performs the element sensitivity calculations over elem, and returns the component of element residual sensitivity in f_m and f_x. More...
 
virtual void init (const MAST::GeomElem &elem)
 initializes the object for the geometric element elem. More...
 
virtual void linearized_jacobian_solution_product (RealVectorX &f)
 Calculates the product of Jacobian-solution, and Jacobian-velocity over the element for a system of the form

\[ f_m(x,\dot{x}) + f_x(x) = 0 \]

. More...

 
virtual void set_elem_data (unsigned int dim, const libMesh::Elem &ref_elem, MAST::GeomElem &elem) const
 sets the structural element y-vector if 1D element is used. More...
 
- Public Member Functions inherited from MAST::TransientAssemblyElemOperations
 TransientAssemblyElemOperations ()
 
virtual ~TransientAssemblyElemOperations ()
 
- Public Member Functions inherited from MAST::AssemblyElemOperations
 AssemblyElemOperations ()
 
virtual ~AssemblyElemOperations ()
 
virtual void clear_assembly ()
 clears the assembly object More...
 
virtual void clear_discipline_and_system ()
 clears association with a system to this discipline More...
 
virtual void clear_elem ()
 clears the element initialization More...
 
virtual MAST::AssemblyBaseget_assembly ()
 
MAST::PhysicsDisciplineBaseget_discipline ()
 
virtual std::pair< const MAST::FieldFunction< RealVectorX > *, unsigned int > get_elem_boundary_velocity_data ()
 searches through the side load data and populates the data with the boundary id and velocity function on the boundary. More...
 
MAST::ElementBaseget_physics_elem ()
 
MAST::SystemInitializationget_system_initialization ()
 
virtual void set_assembly (MAST::AssemblyBase &assembly)
 sets the assembly object More...
 
virtual void set_discipline_and_system (MAST::PhysicsDisciplineBase &discipline, MAST::SystemInitialization &system)
 attaches a system to this discipline More...
 
virtual void set_elem_acceleration (const RealVectorX &accel)
 sets the element acceleration More...
 
virtual void set_elem_acceleration_sensitivity (const RealVectorX &accel)
 sets the element acceleration More...
 
virtual void set_elem_perturbed_acceleration (const RealVectorX &accel)
 sets the element perturbed acceleration More...
 
virtual void set_elem_perturbed_solution (const RealVectorX &sol)
 sets the element perturbed solution More...
 
virtual void set_elem_perturbed_velocity (const RealVectorX &vel)
 sets the element perturbed velocity More...
 
virtual void set_elem_solution (const RealVectorX &sol)
 sets the element solution More...
 
virtual void set_elem_solution_sensitivity (const RealVectorX &sol)
 sets the element solution sensitivity More...
 
virtual void set_elem_velocity (const RealVectorX &vel)
 sets the element velocity More...
 
virtual void set_elem_velocity_sensitivity (const RealVectorX &vel)
 sets the element velocity sensitivity More...
 
void set_skip_comm_sum (bool skip)
 If an output has contrinutions only from local processor then the user can request that the global comm().sum() calls be skipped to avoid blocking MPI calls. More...
 

Additional Inherited Members

- Protected Attributes inherited from MAST::AssemblyElemOperations
MAST::AssemblyBase_assembly
 
MAST::PhysicsDisciplineBase_discipline
 
MAST::ElementBase_physics_elem
 
bool _skip_comm_sum
 If an output has contrinutions only from local processor then the user can request that the global comm().sum() calls be skipped to avoid blocking MPI calls. More...
 
MAST::SystemInitialization_system
 

Constructor & Destructor Documentation

◆ StructuralTransientAssemblyElemOperations()

MAST::StructuralTransientAssemblyElemOperations::StructuralTransientAssemblyElemOperations ( )

constructor associates this assembly object with the system

Definition at line 31 of file structural_transient_assembly.cpp.

◆ ~StructuralTransientAssemblyElemOperations()

MAST::StructuralTransientAssemblyElemOperations::~StructuralTransientAssemblyElemOperations ( )
virtual

destructor resets the association of this assembly object with the system

Definition at line 40 of file structural_transient_assembly.cpp.

Member Function Documentation

◆ elem_calculations() [1/2]

void MAST::StructuralTransientAssemblyElemOperations::elem_calculations ( bool  if_jac,
RealVectorX f_m,
RealVectorX f_x,
RealMatrixX f_m_jac_x_dot,
RealMatrixX f_m_jac,
RealMatrixX f_x_jac 
)
virtual

This call for first order ode should not be used for this transient assembly.

Implements MAST::TransientAssemblyElemOperations.

Definition at line 48 of file structural_transient_assembly.cpp.

◆ elem_calculations() [2/2]

void MAST::StructuralTransientAssemblyElemOperations::elem_calculations ( bool  if_jac,
RealVectorX f_m,
RealVectorX f_x,
RealMatrixX f_m_jac_xddot,
RealMatrixX f_m_jac_xdot,
RealMatrixX f_m_jac,
RealMatrixX f_x_jac_xdot,
RealMatrixX f_x_jac 
)
virtual

performs the element calculations over elem, and returns the element vector and matrix quantities in mat and vec, respectively.

if_jac tells the method to also assemble the Jacobian, in addition to the residual vector.

Implements MAST::TransientAssemblyElemOperations.

Definition at line 88 of file structural_transient_assembly.cpp.

◆ elem_second_derivative_dot_solution_assembly()

void MAST::StructuralTransientAssemblyElemOperations::elem_second_derivative_dot_solution_assembly ( RealMatrixX mat)
virtual

calculates $ d ([J] \{\Delta X\})/ dX $ over elem, and returns the matrix in vec .

Definition at line 210 of file structural_transient_assembly.cpp.

◆ elem_sensitivity_calculations()

void MAST::StructuralTransientAssemblyElemOperations::elem_sensitivity_calculations ( const MAST::FunctionBase f,
RealVectorX f_m,
RealVectorX f_x 
)
virtual

performs the element sensitivity calculations over elem, and returns the component of element residual sensitivity in f_m and f_x.

Implements MAST::TransientAssemblyElemOperations.

Definition at line 170 of file structural_transient_assembly.cpp.

◆ init()

void MAST::StructuralTransientAssemblyElemOperations::init ( const MAST::GeomElem elem)
virtual

initializes the object for the geometric element elem.

This expects the object to be in a cleared state, so the user should call clear_elem() between successive initializations.

Implements MAST::AssemblyElemOperations.

Definition at line 235 of file structural_transient_assembly.cpp.

◆ linearized_jacobian_solution_product()

void MAST::StructuralTransientAssemblyElemOperations::linearized_jacobian_solution_product ( RealVectorX f)
virtual

Calculates the product of Jacobian-solution, and Jacobian-velocity over the element for a system of the form

\[ f_m(x,\dot{x}) + f_x(x) = 0 \]

.

Parameters
f= $ df(x)/dx \cdot dx + df_m(x,\dot{x})/dx \cdot dx + df_m(x,\dot{x})/d\dot{x} \cdot d{\dot x} $

Implements MAST::TransientAssemblyElemOperations.

Definition at line 132 of file structural_transient_assembly.cpp.

◆ set_elem_data()

void MAST::StructuralTransientAssemblyElemOperations::set_elem_data ( unsigned int  dim,
const libMesh::Elem &  ref_elem,
MAST::GeomElem elem 
) const
virtual

sets the structural element y-vector if 1D element is used.

Implements MAST::AssemblyElemOperations.

Definition at line 218 of file structural_transient_assembly.cpp.


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