#include <AMA.h>
Functions | |
long int | AMA_VisitMltv (AMA_OPTIONS *options, const char *approx, const char *datname, long int nind, long int n, double **x, double *z, AMA_SPLINE *spline) |
Write VisIt files for AMA Spline Library Multivariate Random Data Functions. More... | |
long int | AMA_VisitMltvGrd (AMA_OPTIONS *options, const char *approx, const char *datname, long int nind, long int *ng, double **x, double *z, AMA_SPLINE *spline) |
Write VisIt files for AMA Spline Library Multivariate Gridded Data Functions. More... | |
long int | AMA_VisitOptions (AMA_OPTIONS *options, CNSPLA_VISIT *visit) |
Read VisIt options. More... | |
long int | AMA_VisitSpline (AMA_OPTIONS *options, const char *splroot, AMA_SPLINE *spline, AMA_SPLINE *partial, AMA_SPLINE *integral) |
Write VisIt files for AMA Spline Library Spline Functions. More... | |
long int | AMA_VisitUnv (AMA_OPTIONS *options, const char *approx, const char *datname, long int n, double *x, double *z, AMA_SPLINE *spline) |
Write VisIt files for AMA Spline Library Univariate Data Functions. More... | |
long int AMA_VisitMltv | ( | AMA_OPTIONS * | options, |
const char * | approx, | ||
const char * | datname, | ||
long int | nind, | ||
long int | n, | ||
double ** | x, | ||
double * | z, | ||
AMA_SPLINE * | spline | ||
) |
Write VisIt files for AMA Spline Library Multivariate Random Data Functions.
This function writes VisIt files for AMA Spline Library functions which compute spline approximations of independent variable data and dependent variable data
. The data is given as
, for
.
This function performs the following tasks:
The value of n is the number of independent variables for the spline. These files can be used within VisIt to produce the figures presented in Multivariate Random Data Functions.
Parameter Note: In the parameter definitions given below the limits on are
and k =
.
options | [in] Pointer to AMA_OPTIONS. Should be initialized with AMA_Options() prior to calling AMA_VisitMltv(). |
approx | [in] Approximation function. Should be one of AMA_MltvApprox, AMA_MltvInterp, AMA_MltvLstsqr, AMA_MltvMonoApprox or AMA_MltvMonoInterp. |
datname | [in] The data file name. Should satisfy datname ![]() |
nind | [in] The number of independent variables ![]() ![]() ![]() |
n | [in] The number of data points ![]() ![]() |
x | [in] Array of size nind containing arrays of size n where x[k] contains the independent variable data ![]() ![]() |
z | [in] Array of size n containing the dependent variable data ![]() ![]() |
spline | [in] Pointer to AMA_SPLINE containing the spline approximation. Should be a valid AMA_SPLINE structure. |
User Support Function - Documented 110715 - !!!THIS IS NOT A USER CALLABLE FUNCTION - DOCUMENT IS INCLUDED FOR COMPLETENESS!!!
long int AMA_VisitMltvGrd | ( | AMA_OPTIONS * | options, |
const char * | approx, | ||
const char * | datname, | ||
long int | nind, | ||
long int * | ng, | ||
double ** | x, | ||
double * | z, | ||
AMA_SPLINE * | spline | ||
) |
Write VisIt files for AMA Spline Library Multivariate Gridded Data Functions.
This function writes VisIt files for AMA Spline Library functions which compute spline approximations of independent variable data and dependent variable data
. The independent variable data is given as
, for
and
, and it defines the rectilinear grid
The dependent variable data lies on the grid and is given as , for
.
This function performs the following tasks:
The value of n is the number of independent variables for the spline. These files can be used within VisIt to produce the figures presented in Multivariate Gridded Data Functions.
Parameter Note: In the parameter definitions given below the limits on are
and k =
.
options | [in] Pointer to AMA_OPTIONS. Should be initialized with AMA_Options() prior to calling AMA_VisitMltvGrd(). |
approx | [in] Approximation function. Should be one of AMA_MltvGrdApprox, AMA_MltvGrdInterp, AMA_MltvGrdLstsqr, AMA_MltvGrdMonoApprox or AMA_MltvGrdMonoInterp. |
datname | [in] The data file name. Should satisfy datname ![]() |
nind | [in] The number of independent variables ![]() ![]() ![]() |
ng | [in] Array of size nind containing the number of points ![]() ![]() ![]() |
x | [in] Array of size nind containing arrays of size ng[k] where x[k] contains the independent variable data ![]() ![]() |
z | [in] Array of size ![]() ![]() ![]() |
spline | [in] Pointer to AMA_SPLINE containing the spline approximation. Should be a valid AMA_SPLINE structure. |
User Support Function - Documented 110715 - !!!THIS IS NOT A USER CALLABLE FUNCTION - DOCUMENT IS INCLUDED FOR COMPLETENESS!!!
long int AMA_VisitOptions | ( | AMA_OPTIONS * | options, |
CNSPLA_VISIT * | visit | ||
) |
Read VisIt options.
This function reads the file VisIt.opt which specifies plot options employed by AMA_VisitMltv(), AMA_VisitMltvGrd() and AMA_VisitUnv().
The file VisIt.opt consists of several, optional, sections which specify options for writing VisIt plot files. It has the following structure:
The normalization flag has the following values:
See AMA_VisitNorm for additional information about the four normalization options.
The bold keywords are case sensitive and the string values for the approximation options are case insensitive.
options | [in] Pointer to AMA_OPTIONS. Should be initialized with AMA_Options() prior to calling AMA_VisitOptions(). |
visit | [in] Pointer to CNSPLA_VISIT containing the VisIt file options. |
User Support Function - Documented 110715 - !!!THIS IS NOT A USER CALLABLE FUNCTION - DOCUMENT IS INCLUDED FOR COMPLETENESS!!!
long int AMA_VisitSpline | ( | AMA_OPTIONS * | options, |
const char * | splroot, | ||
AMA_SPLINE * | spline, | ||
AMA_SPLINE * | partial, | ||
AMA_SPLINE * | integral | ||
) |
Write VisIt files for AMA Spline Library Spline Functions.
This function writes the following files:
where n is the number of independent variables for the spline. These files can be used within VisIt to produce the figures presented in Spline Functions.
options | [in] Pointer to AMA_OPTIONS. Should be initialized with AMA_Options() prior to calling AMA_VisitSpline(). |
splroot | [in] The root of spline file names. Should satisfy splroot ![]() |
spline | [in] Pointer to AMA_SPLINE containing the spline ![]() |
partial | [in] Pointer to AMA_SPLINE containing the partial derivative of ![]() |
integral | [in] Pointer to AMA_SPLINE containing the indefinite integral of ![]() |
User Support Function - Documented 012915 - !!!THIS IS NOT A USER CALLABLE FUNCTION - DOCUMENT IS INCLUDED FOR COMPLETENESS!!!
long int AMA_VisitUnv | ( | AMA_OPTIONS * | options, |
const char * | approx, | ||
const char * | datname, | ||
long int | n, | ||
double * | x, | ||
double * | z, | ||
AMA_SPLINE * | spline | ||
) |
Write VisIt files for AMA Spline Library Univariate Data Functions.
This function writes VisIt files for AMA Spline Library functions which compute spline approximations of independent variable data and dependent variable data
. The data is given as
, for
.
This function performs the following tasks:
These files can be used within VisIt to produce the figures presented in Univariate Data Functions.
options | [in] Pointer to AMA_OPTIONS initialized with AMA_Options(). Should be initialized with AMA_Options() prior to calling AMA_VisitUnv(). |
approx | [in] Approximation function. Should be one of AMA_UnvApprox, AMA_UnvInterp, AMA_UnvLstsqr, AMA_UnvMonoApprox or AMA_UnvMonoInterp. |
datname | [in] The data file name. Should satisfy datname ![]() |
n | [in] The number of data points ![]() ![]() |
x | [in] Array of size n containing the independent variable data ![]() ![]() |
z | [in] Array of size n containing the dependent variable data ![]() ![]() |
spline | [in] Pointer to AMA_SPLINE containing the spline approximation. Should be a valid AMA_SPLINE structure. |
User Support Function - Documented 110715 - !!!THIS IS NOT A USER CALLABLE FUNCTION - DOCUMENT IS INCLUDED FOR COMPLETENESS!!!