MAST
|
Defines a polar coordinate system with the radius and obtained from the two parameters provided in the constructor. More...
#include <polar_coordinate.h>
Public Member Functions | |
PolarCoordinate (const std::string &nm, MAST::FieldFunction< Real > &theta) | |
virtual | ~PolarCoordinate () |
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 | derivative (const MAST::FunctionBase &f, 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... | |
Public Member Functions inherited from MAST::CoordinateBase | |
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 | operator() (RealMatrixX &v) const |
calculates the value of the function 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... | |
virtual void | derivative (const MAST::FunctionBase &f, RealMatrixX &v) const |
calculates the value of the function derivative 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... | |
const std::string & | name () const |
returns the name of this function 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 void | set_as_shape_parameter (bool f) |
virtual bool | is_topology_parameter () const |
virtual void | set_as_topology_parameter (bool f) |
Protected Attributes | |
MAST::FieldFunction< Real > & | _theta |
Protected Attributes inherited from MAST::FunctionBase | |
std::string | _name |
name of this parameter More... | |
bool | _is_field_func |
flag to store the nature of field function More... | |
bool | _is_shape_parameter |
bool | _is_topology_parameter |
std::set< const MAST::FunctionBase * > | _functions |
set of functions that this function depends on More... | |
Defines a polar coordinate system with the radius and obtained from the two parameters provided in the constructor.
Definition at line 35 of file polar_coordinate.h.
MAST::PolarCoordinate::PolarCoordinate | ( | const std::string & | nm, |
MAST::FieldFunction< Real > & | theta | ||
) |
Definition at line 24 of file polar_coordinate.cpp.
|
virtual |
Definition at line 33 of file polar_coordinate.cpp.
|
virtual |
calculates the value of the function at the specified point, p
, and time, t
, and returns it in v
.
Reimplemented from MAST::FieldFunction< RealMatrixX >.
Definition at line 56 of file polar_coordinate.cpp.
|
virtual |
calculates the value of the function at the specified point, p
, and time, t
, and returns it in v
.
Reimplemented from MAST::FieldFunction< RealMatrixX >.
Definition at line 38 of file polar_coordinate.cpp.
|
protected |
Definition at line 66 of file polar_coordinate.h.