Rheolef
7.1
an efficient C++ finite element environment
vector_projection.h
The projection for yield-stress rheologies – vector-valued case for the Mossolov problem
#include "
phi.h
"
struct
vector_projection
{
Float
operator()
(
const
Float
& x)
const
{
if
(x <=
a
)
return
0;
return
_phi
(x-
a
)/x;
}
vector_projection
(
Float
a1,
Float
n
=1,
Float
c
=1,
Float
r=0)
:
a
(a1),
_phi
(
n
,
c
,r) {}
Float
a
;
phi
_phi
;
};
phi
Definition:
phi.h:25
vector_projection
Definition:
vector_projection.h:26
mkgeo_ball.c
c
Definition:
mkgeo_ball.sh:153
phi.h
The Mossolov problem – the phi function.
vector_projection::_phi
phi _phi
Definition:
vector_projection.h:34
a
Definition:
diffusion_isotropic.h:25
vector_projection::a
Float a
Definition:
vector_projection.h:33
vector_projection::operator()
Float operator()(const Float &x) const
Definition:
vector_projection.h:27
Float
see the Float page for the full documentation
mkgeo_ball.n
n
Definition:
mkgeo_ball.sh:150
vector_projection::vector_projection
vector_projection(Float a1, Float n=1, Float c=1, Float r=0)
Definition:
vector_projection.h:31