api_integrate_law_wrt
List of: Functions
Subjects: Analyzing Models, Geometric Analysis, Laws
Contents: Kernel

Action: Integrates a law over a given domain to a given tolerance with respect to a given variable.

Prototype: outcome api_integrate_law_wrt (


law* input_law, // law to be integrated


double start, // start of the domain


double end, // end of the domain


int wrt, // variable to integrate




// with respect to


double* along, // an array the size of




// the take dim of the




// law with all other




// variables filled in


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


);


outcome api_integrate_law_wrt(


law* integrand, // law to be integrated


double start, // start of the domain


double end, // end of the domain


int wrt, // variable to integrate




// with respect to


double* along, // an array the size of




// the take dim of the




// law with all other




// variables filled in


double* answer, // value of integration


double tol, // optional tolerance for




// the answer (default




// = 1.0E-12)


int min_level, // optional minimum




// Romberg Table rows




// (default = 2)


int* used_level // optional number of




// Romberg rows used




// (default = NULL)


);

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
PDF/KERN/16FNA.PDF
HTM/DATA/KERN/KERN/16FNA/0083.HTM