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

Detailed Description

#include <frequency_domain_linearized_complex_assembly.h>

Inheritance diagram for MAST::FrequencyDomainLinearizedComplexAssemblyElemOperations:
Collaboration diagram for MAST::FrequencyDomainLinearizedComplexAssemblyElemOperations:

Public Member Functions

 FrequencyDomainLinearizedComplexAssemblyElemOperations ()
 default constructor More...
 
virtual ~FrequencyDomainLinearizedComplexAssemblyElemOperations ()
 destructor More...
 
virtual void clear_frequency_function ()
 clears association with a system to this discipline, and vice-a-versa More...
 
virtual void elem_calculations (bool if_jac, ComplexVectorX &vec, ComplexMatrixX &mat)
 performs the element calculations over elem, and returns the element vector and matrix quantities in mat and vec, respectively. More...
 
virtual void elem_sensitivity_calculations (const MAST::FunctionBase &f, ComplexVectorX &vec)
 performs the element sensitivity calculations over elem, and returns the element residual sensitivity in vec . More...
 
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
 virtual function, but nothing to be done for fluids. More...
 
void set_frequency_function (MAST::FrequencyFunction &f)
 sets the frequency function for analysis More...
 
- Public Member Functions inherited from MAST::ComplexAssemblyElemOperations
 ComplexAssemblyElemOperations ()
 
virtual ~ComplexAssemblyElemOperations ()
 
virtual void set_elem_complex_solution (const ComplexVectorX &sol)
 sets the element complex solution More...
 
virtual void set_elem_complex_solution_sensitivity (const ComplexVectorX &sol)
 sets the element complex 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

MAST::FrequencyFunction_frequency
 frequency function used to define the oscillatory frequency 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

◆ FrequencyDomainLinearizedComplexAssemblyElemOperations()

MAST::FrequencyDomainLinearizedComplexAssemblyElemOperations::FrequencyDomainLinearizedComplexAssemblyElemOperations ( )

default constructor

Definition at line 30 of file frequency_domain_linearized_complex_assembly.cpp.

◆ ~FrequencyDomainLinearizedComplexAssemblyElemOperations()

MAST::FrequencyDomainLinearizedComplexAssemblyElemOperations::~FrequencyDomainLinearizedComplexAssemblyElemOperations ( )
virtual

destructor

Definition at line 40 of file frequency_domain_linearized_complex_assembly.cpp.

Member Function Documentation

◆ clear_frequency_function()

void MAST::FrequencyDomainLinearizedComplexAssemblyElemOperations::clear_frequency_function ( )
virtual

clears association with a system to this discipline, and vice-a-versa

Definition at line 62 of file frequency_domain_linearized_complex_assembly.cpp.

◆ elem_calculations()

void MAST::FrequencyDomainLinearizedComplexAssemblyElemOperations::elem_calculations ( bool  if_jac,
ComplexVectorX vec,
ComplexMatrixX mat 
)
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::ComplexAssemblyElemOperations.

Definition at line 71 of file frequency_domain_linearized_complex_assembly.cpp.

◆ elem_sensitivity_calculations()

void MAST::FrequencyDomainLinearizedComplexAssemblyElemOperations::elem_sensitivity_calculations ( const MAST::FunctionBase f,
ComplexVectorX vec 
)
virtual

performs the element sensitivity calculations over elem, and returns the element residual sensitivity in vec .

Implements MAST::ComplexAssemblyElemOperations.

Definition at line 92 of file frequency_domain_linearized_complex_assembly.cpp.

◆ init()

void MAST::FrequencyDomainLinearizedComplexAssemblyElemOperations::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 113 of file frequency_domain_linearized_complex_assembly.cpp.

◆ set_elem_data()

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

virtual function, but nothing to be done for fluids.

Implements MAST::AssemblyElemOperations.

Definition at line 85 of file frequency_domain_linearized_complex_assembly.h.

◆ set_frequency_function()

void MAST::FrequencyDomainLinearizedComplexAssemblyElemOperations::set_frequency_function ( MAST::FrequencyFunction f)

sets the frequency function for analysis

Definition at line 49 of file frequency_domain_linearized_complex_assembly.cpp.

Member Data Documentation

◆ _frequency

MAST::FrequencyFunction* MAST::FrequencyDomainLinearizedComplexAssemblyElemOperations::_frequency
protected

frequency function used to define the oscillatory frequency

Definition at line 102 of file frequency_domain_linearized_complex_assembly.h.


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