`g95 -o a.out <object-files> -L $(MAXENTDIR)/MAXENT-V1.4/lib -lmaxent`

If an interface from a C or C **++ **program is required, the appropriate
call (depending on the compiler and the operating system) should be invoked.
The subroutine call from a Fortran 90 program to compute the max-ent basis
functions is given below (see `main.f90` and also `maxent.f90` for
further details):

`n`: number of neighbors of point (a positive integer);`nsd`: spatial dimension (a positive integer);`scheme`: either descent, newton, or lbfgs (a string);`prior`: either uniform, cubic, quartic, gaussian, or gaussian-rbf (a string);`xyz`: nodal coordinates of the neighbors (double precision array xyz(n,nsd));`p`: coordinates of the point (double precision array p(nsd));`rmax`: support sizes of the neighbors (double precision array rmax(n));`D`: anisotropic metric (double precision array D(nsd,nsd,n));`maxit`: maximum number of iteration (a positive integer);`eps`: convergence tolerance (double precision);`printflag`: print convergence information (logical: .true. or .false.);`errorflag`: error flag ( pass, Hessian too small; non-convergence in`maxit`iterations);`lengthscale`: length scale for domain (`optional argument`) so that convergence criterion is independent of the magnitude of nodal coordinates;`dettol`: determinant tolerance (`optional argument`) with default of

`phi`: basis function vector (double precision phi(n));`dphi`: 1st derivatives of basis functions (double precision dphi(nsd,n));`ddphi`: 2nd derivatives of basis functions (double precision ddphi(nsd*nsd,n));

Copyright © 2008