#include <crack.h>
|
| | Crack () |
| | Default constructor for a Crack object. Zero-initializes all data members. More...
|
| |
| void | setter (float, float, float, float, float, float) |
| | Sets the value of data members according to: More...
|
| |
| void | setter (Crack &) |
| | Sets the value of data members according to the Crack source object Effectively, overloads setter() to implement copy constructor. More...
|
| |
| float | inside (float *R) |
| | Checks whether a node lies inside the specified ellipse of not. A negative implies point lies inside while a positive implies outside. More...
|
| |
| virtual | ~Crack () |
| | Destructor. More...
|
| |
| | Crack (Crack const &source) |
| | Copy constructor. More...
|
| |
| Crack const & | operator= (Crack const &other) |
| | Assignment(=) overloading. Calls copy constructor. More...
|
| |
| void | print_info () |
| | Prints the data members of Crack object to STDOUT. More...
|
| |
|
| float * | c |
| | Holds the coordinates of the center of the ellipse. More...
|
| |
| float * | a |
| | Holds the lengths of the major and minor axes of the ellipse. More...
|
| |
| float * | trig |
| | Holds the sine and cosine of the angle the major axis of the ellipse makes with the problem's x axis. More...
|
| |
| int | dim |
| | Obsolete. Is generally equal to DIM from params.h. More...
|
| |
|
| void | clear () |
| | Called by destructor. Clears all variables from memory. More...
|
| |
| void | copy (Crack const &source) |
| | Implements copying from source. Called by copy constructor. More...
|
| |
Default constructor for a Crack object. Zero-initializes all data members.
| Crack::Crack |
( |
Crack const & |
source | ) |
|
Called by destructor. Clears all variables from memory.
| void Crack::copy |
( |
Crack const & |
source | ) |
|
|
protected |
Implements copying from source. Called by copy constructor.
| float Crack::inside |
( |
float * |
R | ) |
|
Checks whether a node lies inside the specified ellipse of not. A negative implies point lies inside while a positive implies outside.
| Crack const & Crack::operator= |
( |
Crack const & |
other | ) |
|
Assignment(=) overloading. Calls copy constructor.
| void Crack::print_info |
( |
| ) |
|
Prints the data members of Crack object to STDOUT.
| void Crack::setter |
( |
float |
cx, |
|
|
float |
cy, |
|
|
float |
ax, |
|
|
float |
ay, |
|
|
float |
sine, |
|
|
float |
cosine |
|
) |
| |
Sets the value of data members according to:
- Parameters
-
| cx | abcissa of center of ellipse |
| cy | ordinate of center of ellipse |
| ax | length of the semi-major axis of the ellipse |
| ay | length of the semi-minor axis of the ellipse |
| sine | sine of the angle that major-axis forms with x-axis |
| cosine | cosine of the angle that major-axis forms with x-axis (redundant) |
| void Crack::setter |
( |
Crack & |
source | ) |
|
Sets the value of data members according to the Crack source object Effectively, overloads setter() to implement copy constructor.
Holds the lengths of the major and minor axes of the ellipse.
Holds the coordinates of the center of the ellipse.
Obsolete. Is generally equal to DIM from params.h.
Holds the sine and cosine of the angle the major axis of the ellipse makes with the problem's x axis.
The documentation for this class was generated from the following files: