Array that contains all the command line arguments.
for (int i = 0; i < ARGV.n; i++) cout << ARGV[i] << endl;
See Command line arguments example for a complete example.
Return 1 if the current edge is on a boundary, 0 otherwise.
real B = int2d(Th)(BoundaryEdge);
Conjugate gradient solver.
problem Laplacian (U, V, solver=CG) = ...
Or in matrix construction
matrix A = vLaplacian(Uh, Uh, solver=CG);
Or in set function
Sign of \(i-j\) if the current edge is \([q_i, q_j]\).
real S = int1d(Th, 1)(edgeOrientation);
Include an external library.
Return 0 if the current edge is on a boundary, 1 otherwise.
real I = int2d(Th)(InternalEdge);
Label number of a boundary if the current point is on a boundary, 0 otherwise.
int L = Th(xB, yB).label;
Length of the current edge.
For an edge \([q_i, g_j]\), return \(|q_i-q_j|\).
real L = int1d(Th, 1)(lenEdge);
Outward unit normal at the current point if it is on a curve defined by a border.
N.x, N.y, N.z are respectively the \(x\), \(y\) and \(z\) components of the normal.
1 2 3
func Nx = N.x; func Ny = N.y; func Nz = N.z;
Region number of the current point. If the point is outside, then
region == notaregion where
notaregion is a FreeFEM integer constant.
int R = Th(xR, yR).region;
int Verbosity = verbosity; verbosity = 0;
0 = nothing, 1 = little information, 10 = a lot of information, …
This is an integer value.