Action:
|
Integrates a law over a given domain to a given tolerance.
|
|
Prototype:
|
outcome api_integrate_law (
|
|
|
law* input_law,
|
// law to be integrated
|
|
|
double start,
|
// start of the domain
|
|
|
double end,
|
// end of the domain
|
|
|
double& answer,
|
// value of integration
|
|
|
double tolerance
|
// optional tolerance for
|
|
|
|
= 1E-12,
|
// the answer
|
|
|
int min_level
|
// optional minimum
|
|
|
|
= 2,
|
// Romberg Table rows
|
|
|
int* used_level
|
// optional number of
|
|
|
|
= NULL
|
// Romberg rows returned
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "kernel/kernapi/api/kernapi.hxx"
|
|
#include "lawutil/law_base.hxx"
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kernapi/api/kernapi.hxx
|
|
Effect:
|
Read-only
|