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

Detailed Description

Provides the transformation matrix T to transform vector from the orientation provided in this matrix, to one in the global basis.

Definition at line 36 of file coordinate_base.h.

#include <coordinate_base.h>

Inheritance diagram for MAST::CoordinateBase:
Collaboration diagram for MAST::CoordinateBase:

Public Member Functions

 CoordinateBase (const std::string &nm)
 
void stress_strain_transformation_matrix (const RealMatrixX &T, RealMatrixX &mat) const
 prepares the matrix mat that transforms stress and strain tensors represented in a 6x1 vector from the coordinate system in _orient to the global coordinate system. More...
 
void stress_strain_transformation_matrix_sens (const RealMatrixX &T, const RealMatrixX &dT, RealMatrixX &mat) const
 
- Public Member Functions inherited from MAST::FieldFunction< RealMatrixX >
 FieldFunction (const std::string &nm)
 
virtual void derivative (const MAST::FunctionBase &f, RealMatrixX &v) const
 calculates the value of the function derivative and returns it in v. More...
 
virtual void derivative (const MAST::FunctionBase &f, const libMesh::Point &p, const Real t, RealMatrixX &v) const
 calculates the value of the derivative of function with respect to the function f at the specified point, p, and time, t, and returns it in v. More...
 
virtual void operator() (RealMatrixX &v) const
 calculates the value of the function and returns it in v. More...
 
virtual void operator() (const libMesh::Point &p, const Real t, RealMatrixX &v) const
 calculates the value of the function at the specified point, p, and time, t, and returns it in v. More...
 
virtual void perturbation (RealMatrixX &v) const
 calculates the perturbation and returns it in v. More...
 
virtual void perturbation (const libMesh::Point &p, const Real t, RealMatrixX &v) const
 calculates the value of a perturbation in function at the specified point, p, and time, t, and returns it in v. More...
 
- Public Member Functions inherited from MAST::FunctionBase
 FunctionBase (const std::string &nm, const bool is_field_func)
 initializes the parameter to the given name More...
 
 FunctionBase (const MAST::FunctionBase &f)
 Copy constructor. More...
 
virtual ~FunctionBase ()
 virtual destructor More...
 
virtual bool depends_on (const MAST::FunctionBase &f) const
 returns true if the function depends on the provided value More...
 
virtual bool is_shape_parameter () const
 
virtual bool is_topology_parameter () const
 
const std::string & name () const
 returns the name of this function More...
 
virtual void set_as_shape_parameter (bool f)
 
virtual void set_as_topology_parameter (bool f)
 

Additional Inherited Members

- Protected Attributes inherited from MAST::FunctionBase
std::set< const MAST::FunctionBase * > _functions
 set of functions that this function depends on More...
 
bool _is_field_func
 flag to store the nature of field function More...
 
bool _is_shape_parameter
 
bool _is_topology_parameter
 
std::string _name
 name of this parameter More...
 

Constructor & Destructor Documentation

◆ CoordinateBase()

MAST::CoordinateBase::CoordinateBase ( const std::string &  nm)

Definition at line 24 of file coordinate_base.cpp.

Member Function Documentation

◆ stress_strain_transformation_matrix()

void MAST::CoordinateBase::stress_strain_transformation_matrix ( const RealMatrixX T,
RealMatrixX mat 
) const

prepares the matrix mat that transforms stress and strain tensors represented in a 6x1 vector from the coordinate system in _orient to the global coordinate system.

Note that the shear straints in the strain tensor vector should be represented in the tensor quantities, and not the engineering strain.

Definition at line 33 of file coordinate_base.cpp.

◆ stress_strain_transformation_matrix_sens()

void MAST::CoordinateBase::stress_strain_transformation_matrix_sens ( const RealMatrixX T,
const RealMatrixX dT,
RealMatrixX mat 
) const

Definition at line 74 of file coordinate_base.cpp.


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