#include <nonlocdamg.h>
Public Member Functions | |
void | average (long ipp, long im, long ido) |
averages quantities in the given integration point | |
void | give_aver_quantv (long ipp, long im, long ido, vector &qv) |
long | give_num_averq (long ipp, long im) |
number of averaged quantities | |
double | give_proczonelength (long ipp, long im, long ido) |
returns the length of fracture process zone | |
nonlocdamg (void) | |
void | print (FILE *out) |
prints data to the file out | |
long | read (XFILE *in) |
reads data from the file in | |
~nonlocdamg (void) | |
Public Attributes | |
avrgf | af |
flag for the averaged variable | |
double | r |
taken radius for ipp environment |
The class defines general nonlocal formulation of damage material models.
Created by Tomas Koudelka,
Definition at line 15 of file nonlocdamg.h.
nonlocdamg | ( | void | ) |
The constructor inializes attributes to zero values.
Created by Tomas Koudelka
Definition at line 18 of file nonlocdamg.cpp.
~nonlocdamg | ( | void | ) |
The destructor is defined only for the formal purposes.
Created by Tomas Koudelka
Definition at line 31 of file nonlocdamg.cpp.
void average | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
averages quantities in the given integration point
The function averages values of the damage function parameter in the given integration point. Type of average function is given by the data member af.
Parameters:
ipp | - integration point number | |
im | - material index | |
ido | - index of internal variables for given material in the ipp other array |
Returns:
The | function does not return anything. |
Created by Tomas Koudelka
Definition at line 181 of file nonlocdamg.cpp.
References mechtop::adjip, af, cubic, mechtop::dist, mechmat::give_aver_quantv(), mechmat::give_num_averq(), mechmat::ip, mechmat::ipv, Mm, Mt, mechtop::nadjip, intpoints::nonloc, parab, print_err(), and r.
Referenced by mechmat::nonlocaverage().
void give_aver_quantv | ( | long | ipp, | |
long | im, | |||
long | ido, | |||
vector & | qv | |||
) |
The function returns vector of averaged quantities.
Parameters:
ipp | - integration point number | |
im | - material index | |
ido | - index of internal variables for given material in the ipp other array | |
qv | - vector of averaged quantities (output) |
Returns :
The | function returns vector of averaged quantities in the parameter qv |
Created by Tomas Koudelka
Definition at line 138 of file nonlocdamg.cpp.
References anisodamage, anisodamagerot, mechmat::give_kappa(), mechmat::ip, Mm, intpoints::ncompstr, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, intpoints::strain, and intpoints::tm.
Referenced by mechmat::give_aver_quantv().
long give_num_averq | ( | long | ipp, | |
long | im | |||
) |
number of averaged quantities
The function areturns number of averaged quantities.
Parameters:
ipp | - integration point number | |
im | - material index |
Returns:
The | function returns number of averaged quantities |
Created by Tomas Koudelka
Definition at line 94 of file nonlocdamg.cpp.
References anisodamage, anisodamagerot, mechmat::ip, Mm, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, and intpoints::tm.
Referenced by mechmat::give_num_averq().
double give_proczonelength | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
returns the length of fracture process zone
The function returns the length of fracture process zone i.e. the diameter of the averaged neighbourhood.
Parameters:
ipp | - integration point number | |
im | - material index | |
ido | - index of internal variables for given material in the ipp other array |
Returns:
Created by Tomas Koudelka, 26.8.2014
Definition at line 250 of file nonlocdamg.cpp.
References r.
void print | ( | FILE * | out | ) |
prints data to the file out
The function prints material parameters from the opened text file given by the parameter out.
Parameters:
out | - pointer to the opened text file |
Returns:
Created by Tomas Koudelka
Definition at line 75 of file nonlocdamg.cpp.
long read | ( | XFILE * | in | ) |
reads data from the file in
The function reads material parameters from the opened text file given by the parameter in.
Parameters:
in | - pointer to the opened text file |
Returns:
0 | - on success | |
1 | - on reading error |
Created by Tomas Koudelka
Definition at line 52 of file nonlocdamg.cpp.
References af, avrgf_kwdset(), print_err(), r, and xfscanf().
Referenced by mechmat::readmattype().
flag for the averaged variable
Definition at line 35 of file nonlocdamg.h.
Referenced by average(), nonlocdamg(), print(), read(), and ~nonlocdamg().
double r |
taken radius for ipp environment
Definition at line 33 of file nonlocdamg.h.
Referenced by average(), give_proczonelength(), nonlocdamg(), mechmat::nonlocradius(), print(), read(), and ~nonlocdamg().