api_integrate_law_wrt_and_splits
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 with respect an array of points to split the domain.

Prototype: outcome api_integrate_law_wrt_and_splits (


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


int number_of_splits // optional number of



= 0, // singularities


double* splits // optional number of



= NULL, // splits


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_and_splits(


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


int number_of_splits, // optional number of




// singularities




// (default = 0)


double* splits, // optional where the




// singularities are




// (default = NULL)


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"

Description: During the integration it will take into account an array of points to split the domain up into. This should be used if the domain contains known singularities.

Library: kernel

Filename: kern/kernel/kernapi/api/kernapi.hxx

Effect: Read-only
PDF/KERN/16FNA.PDF
HTM/DATA/KERN/KERN/16FNA/0084.HTM