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

Detailed Description

Definition at line 29 of file fluid_structure_assembly_elem_operations.h.

#include <fluid_structure_assembly_elem_operations.h>

Inheritance diagram for MAST::FluidStructureAssemblyElemOperations:
Collaboration diagram for MAST::FluidStructureAssemblyElemOperations:

Public Member Functions

 FluidStructureAssemblyElemOperations ()
 
virtual ~FluidStructureAssemblyElemOperations ()
 
virtual void elem_aerodynamic_force_calculations (ComplexVectorX &vec)
 
virtual void elem_calculations (bool if_jac, RealVectorX &vec, RealMatrixX &mat)
 
virtual void elem_second_derivative_dot_solution_assembly (RealMatrixX &m)
 
virtual void elem_sensitivity_calculations (const MAST::FunctionBase &f, bool if_jac, RealVectorX &vec, RealMatrixX &mat)
 
virtual void init (const MAST::GeomElem &elem)
 initializes the object for the geometric element elem. 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...
 
void set_qty_to_evaluate (MAST::StructuralQuantityType q)
 
void use_base_sol_for_sensitivity (bool f)
 if set to true, the sensitivity calculation will include the sensitivity of base solution. More...
 
- 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...
 

Protected Attributes

bool _base_sol
 whether or not the base solution was included for linearization More...
 
MAST::StructuralQuantityType _qty_type
 this defines the quantity to be assembled More...
 
- 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

◆ FluidStructureAssemblyElemOperations()

MAST::FluidStructureAssemblyElemOperations::FluidStructureAssemblyElemOperations ( )

Definition at line 31 of file fluid_structure_assembly_elem_operations.cpp.

◆ ~FluidStructureAssemblyElemOperations()

MAST::FluidStructureAssemblyElemOperations::~FluidStructureAssemblyElemOperations ( )
virtual

Definition at line 40 of file fluid_structure_assembly_elem_operations.cpp.

Member Function Documentation

◆ elem_aerodynamic_force_calculations()

void MAST::FluidStructureAssemblyElemOperations::elem_aerodynamic_force_calculations ( ComplexVectorX vec)
virtual

◆ elem_calculations()

void MAST::FluidStructureAssemblyElemOperations::elem_calculations ( bool  if_jac,
RealVectorX vec,
RealMatrixX mat 
)
virtual

Definition at line 78 of file fluid_structure_assembly_elem_operations.cpp.

◆ elem_second_derivative_dot_solution_assembly()

void MAST::FluidStructureAssemblyElemOperations::elem_second_derivative_dot_solution_assembly ( RealMatrixX m)
virtual

◆ elem_sensitivity_calculations()

void MAST::FluidStructureAssemblyElemOperations::elem_sensitivity_calculations ( const MAST::FunctionBase f,
bool  if_jac,
RealVectorX vec,
RealMatrixX mat 
)
virtual

◆ init()

void MAST::FluidStructureAssemblyElemOperations::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 64 of file fluid_structure_assembly_elem_operations.cpp.

◆ set_elem_data()

void MAST::FluidStructureAssemblyElemOperations::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 47 of file fluid_structure_assembly_elem_operations.cpp.

◆ set_qty_to_evaluate()

void MAST::FluidStructureAssemblyElemOperations::set_qty_to_evaluate ( MAST::StructuralQuantityType  q)
inline

Definition at line 38 of file fluid_structure_assembly_elem_operations.h.

◆ use_base_sol_for_sensitivity()

void MAST::FluidStructureAssemblyElemOperations::use_base_sol_for_sensitivity ( bool  f)
inline

if set to true, the sensitivity calculation will include the sensitivity of base solution.

Definition at line 62 of file fluid_structure_assembly_elem_operations.h.

Member Data Documentation

◆ _base_sol

bool MAST::FluidStructureAssemblyElemOperations::_base_sol
protected

whether or not the base solution was included for linearization

Definition at line 80 of file fluid_structure_assembly_elem_operations.h.

◆ _qty_type

MAST::StructuralQuantityType MAST::FluidStructureAssemblyElemOperations::_qty_type
protected

this defines the quantity to be assembled

Definition at line 85 of file fluid_structure_assembly_elem_operations.h.


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