PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
anonymous_namespace{material.h} Namespace Reference

Functions

double getGlobalInfFn (const double &r)
 Returns the value of influence function.
 
double getGlobalMoment (const size_t &i)
 Returns the moment of influence function.
 

Variables

size_t dimension = 0
 Dimension of the domain.
 
bool is_plane_strain = false
 Is plane-stress condition active.
 
std::shared_ptr< material::BaseInfluenceFninfluence_fn
 Store pointer to influence function globally.
 

Function Documentation

◆ getGlobalInfFn()

double anonymous_namespace{material.h}::getGlobalInfFn ( const double &  r)

Returns the value of influence function.

Parameters
rReference (initial) bond length
Returns
value Influence function at r

Definition at line 40 of file material.h.

40 {
41 return influence_fn->getInfFn(r);
42}
std::shared_ptr< material::BaseInfluenceFn > influence_fn
Store pointer to influence function globally.
Definition material.h:32

References influence_fn.

◆ getGlobalMoment()

double anonymous_namespace{material.h}::getGlobalMoment ( const size_t &  i)

Returns the moment of influence function.

If \( J(r) \) is the influence function for \( r\in [0,1)\) then \( i^{th} \) moment is given by

\[ M_i = \int_0^1 J(r) r^i dr. \]

Parameters
iith moment
Returns
moment Moment

Definition at line 53 of file material.h.

53{return influence_fn->getMoment(i);}

References influence_fn.

Variable Documentation

◆ dimension

size_t anonymous_namespace{material.h}::dimension = 0

Dimension of the domain.

Definition at line 26 of file material.h.

◆ influence_fn

std::shared_ptr<material::BaseInfluenceFn> anonymous_namespace{material.h}::influence_fn

Store pointer to influence function globally.

Definition at line 32 of file material.h.

Referenced by getGlobalInfFn(), and getGlobalMoment().

◆ is_plane_strain

bool anonymous_namespace{material.h}::is_plane_strain = false

Is plane-stress condition active.

Definition at line 29 of file material.h.