|
GraphNet: Discrete element modeling for network connected materials
Applications to polymeric networks
|
#include <crack.h>


Public Member Functions | |
| Crack & | operator[] (int) |
| Overload dereference operator([]) More... | |
| Cracklist (int) | |
| Constructor to randomly spawn n ellipses within the bound with random axes lengths and random orientations. More... | |
| Cracklist () | |
| Cracklist (Crack &) | |
| Constructor to initialize a list of cracks with just one crack object. More... | |
| ~Cracklist () | |
| Default destructor. More... | |
Public Member Functions inherited from Crack | |
| 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... | |
Public Attributes | |
| int | n_cracks |
| Number of cracks in the Cracklist. More... | |
| Crack * | listofCracks |
Public Attributes inherited from Crack | |
| 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from Crack | |
| 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... | |
| Cracklist::Cracklist | ( | int | n | ) |
Constructor to randomly spawn n ellipses within the bound with random axes lengths and random orientations.
| n | –> Number of random ellipses to be spwaned within object |
| Cracklist::Cracklist | ( | ) |
| Cracklist::Cracklist | ( | Crack & | a | ) |
| Cracklist::~Cracklist | ( | ) |
Default destructor.
| Crack & Cracklist::operator[] | ( | int | b | ) |
| Crack* Cracklist::listofCracks |
| int Cracklist::n_cracks |
Number of cracks in the Cracklist.
1.8.11