MAST
Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
MAST::AssemblyElemOperations Class Referenceabstract

Detailed Description

Definition at line 42 of file assembly_elem_operation.h.

#include <assembly_elem_operation.h>

Inheritance diagram for MAST::AssemblyElemOperations:
Collaboration diagram for MAST::AssemblyElemOperations:

Public Member Functions

 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 init (const MAST::GeomElem &elem)=0
 initializes the object for calculation of element quantities for the specified elem. More...
 
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_data (unsigned int dim, const libMesh::Elem &ref_elem, MAST::GeomElem &elem) const =0
 some analyses may want to set additional element data before initialization of the GeomElem. 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::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

◆ AssemblyElemOperations()

MAST::AssemblyElemOperations::AssemblyElemOperations ( )

Definition at line 35 of file assembly_elem_operation.cpp.

◆ ~AssemblyElemOperations()

MAST::AssemblyElemOperations::~AssemblyElemOperations ( )
virtual

Definition at line 45 of file assembly_elem_operation.cpp.

Member Function Documentation

◆ clear_assembly()

void MAST::AssemblyElemOperations::clear_assembly ( )
virtual

clears the assembly object

Reimplemented in MAST::TransientSolverBase.

Definition at line 83 of file assembly_elem_operation.cpp.

◆ clear_discipline_and_system()

void MAST::AssemblyElemOperations::clear_discipline_and_system ( )
virtual

clears association with a system to this discipline

Definition at line 67 of file assembly_elem_operation.cpp.

◆ clear_elem()

void MAST::AssemblyElemOperations::clear_elem ( )
virtual

clears the element initialization

Definition at line 196 of file assembly_elem_operation.cpp.

◆ get_assembly()

MAST::AssemblyBase & MAST::AssemblyElemOperations::get_assembly ( )
virtual
Returns
a reference to the assembly object

Definition at line 104 of file assembly_elem_operation.cpp.

◆ get_discipline()

MAST::PhysicsDisciplineBase & MAST::AssemblyElemOperations::get_discipline ( )
Returns
a reference to the discipline object

Definition at line 97 of file assembly_elem_operation.cpp.

◆ get_elem_boundary_velocity_data()

std::pair< const MAST::FieldFunction< RealVectorX > *, unsigned int > MAST::AssemblyElemOperations::get_elem_boundary_velocity_data ( )
virtual

searches through the side load data and populates the data with the boundary id and velocity function on the boundary.

Returns a null pointer for velocity if no boundary is specified for this elem.

Definition at line 207 of file assembly_elem_operation.cpp.

◆ get_physics_elem()

MAST::ElementBase& MAST::AssemblyElemOperations::get_physics_elem ( )
inline
Returns
a reference to the physics element. The object must have been initialized before this method is called.

Definition at line 115 of file assembly_elem_operation.h.

◆ get_system_initialization()

MAST::SystemInitialization & MAST::AssemblyElemOperations::get_system_initialization ( )
Returns
a reference to the system initialization object

Definition at line 90 of file assembly_elem_operation.cpp.

◆ init()

◆ set_assembly()

void MAST::AssemblyElemOperations::set_assembly ( MAST::AssemblyBase assembly)
virtual

sets the assembly object

Reimplemented in MAST::TransientSolverBase.

Definition at line 75 of file assembly_elem_operation.cpp.

◆ set_discipline_and_system()

void MAST::AssemblyElemOperations::set_discipline_and_system ( MAST::PhysicsDisciplineBase discipline,
MAST::SystemInitialization system 
)
virtual

attaches a system to this discipline

Definition at line 53 of file assembly_elem_operation.cpp.

◆ set_elem_acceleration()

void MAST::AssemblyElemOperations::set_elem_acceleration ( const RealVectorX accel)
virtual

sets the element acceleration

Definition at line 151 of file assembly_elem_operation.cpp.

◆ set_elem_acceleration_sensitivity()

void MAST::AssemblyElemOperations::set_elem_acceleration_sensitivity ( const RealVectorX accel)
virtual

sets the element acceleration

Definition at line 160 of file assembly_elem_operation.cpp.

◆ set_elem_data()

◆ set_elem_perturbed_acceleration()

void MAST::AssemblyElemOperations::set_elem_perturbed_acceleration ( const RealVectorX accel)
virtual

sets the element perturbed acceleration

Definition at line 187 of file assembly_elem_operation.cpp.

◆ set_elem_perturbed_solution()

void MAST::AssemblyElemOperations::set_elem_perturbed_solution ( const RealVectorX sol)
virtual

sets the element perturbed solution

Definition at line 169 of file assembly_elem_operation.cpp.

◆ set_elem_perturbed_velocity()

void MAST::AssemblyElemOperations::set_elem_perturbed_velocity ( const RealVectorX vel)
virtual

sets the element perturbed velocity

Definition at line 178 of file assembly_elem_operation.cpp.

◆ set_elem_solution()

void MAST::AssemblyElemOperations::set_elem_solution ( const RealVectorX sol)
virtual

◆ set_elem_solution_sensitivity()

void MAST::AssemblyElemOperations::set_elem_solution_sensitivity ( const RealVectorX sol)
virtual

sets the element solution sensitivity

Reimplemented in MAST::StructuralModalEigenproblemAssemblyElemOperations.

Definition at line 122 of file assembly_elem_operation.cpp.

◆ set_elem_velocity()

void MAST::AssemblyElemOperations::set_elem_velocity ( const RealVectorX vel)
virtual

sets the element velocity

Definition at line 132 of file assembly_elem_operation.cpp.

◆ set_elem_velocity_sensitivity()

void MAST::AssemblyElemOperations::set_elem_velocity_sensitivity ( const RealVectorX vel)
virtual

sets the element velocity sensitivity

Definition at line 141 of file assembly_elem_operation.cpp.

◆ set_skip_comm_sum()

void MAST::AssemblyElemOperations::set_skip_comm_sum ( bool  skip)
inline

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.

This is false by default. Note that this should be done carefully since incorrect usage can lead to erroneous results.

Definition at line 127 of file assembly_elem_operation.h.

Member Data Documentation

◆ _assembly

MAST::AssemblyBase* MAST::AssemblyElemOperations::_assembly
protected

Definition at line 194 of file assembly_elem_operation.h.

◆ _discipline

MAST::PhysicsDisciplineBase* MAST::AssemblyElemOperations::_discipline
protected

Definition at line 192 of file assembly_elem_operation.h.

◆ _physics_elem

MAST::ElementBase* MAST::AssemblyElemOperations::_physics_elem
protected

Definition at line 196 of file assembly_elem_operation.h.

◆ _skip_comm_sum

bool MAST::AssemblyElemOperations::_skip_comm_sum
protected

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.

Definition at line 202 of file assembly_elem_operation.h.

◆ _system

MAST::SystemInitialization* MAST::AssemblyElemOperations::_system
protected

Definition at line 191 of file assembly_elem_operation.h.


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