BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
example_user_defect.cpp File Reference
#include <belfem_user_api>
Include dependency graph for example_user_defect.cpp:

Functions

real my_defect (const real x, const real y, const real z, const real t)
 Custom defect.
void MyDefect_init (Material *mat)

Function Documentation

◆ my_defect()

real my_defect ( const real x,
const real y,
const real z,
const real t )

Custom defect.

Parameters
x,y,zspatial coordinates (m)
ttime (s)
Returns
multiplier on jc: 1 = pristine, 0 = fully blocked

◆ MyDefect_init()

void MyDefect_init ( Material * mat)