MathEngine
Home Page       Structures       File List       Functions and Macros      

MdtKea.h File Reference

Kea solver header file. More...

#include "MePrecision.h"

Go to the source code of this file.

Compounds

struct  MdtKeaBody
struct  MdtKeaConstraints
struct  MdtKeaParameters
struct  MdtKeaTransformation

Functions

int MdtKeaMemoryRequired (int *num_rows_partition, int num_partitions)
 Utility function for calculating the size of the workspace needed by Kea. More...

void MdtKeaStep (MdtKeaConstraints constraints, MdtKeaBody *blist, MdtKeaTransformation *tlist, int num_bodies, MdtKeaParameters parameters)
 Kea solver function. More...


Detailed Description

Kea solver header file.

For explanation of some notation see "Programming From Specifications" by Carroll Morgan.


Function Documentation

int MdtKeaMemoryRequired ( int * rows_in_partition,
int num_partitions )

Utility function for calculating the size of the workspace needed by Kea.

This memory is passed into Kea in the MdtKeaParameters structure.

void MdtKeaStep ( MdtKeaConstraints constraints,
MdtKeaBody * blist,
MdtKeaTransformation * tlist,
int num_bodies,
MdtKeaParameters parameters )

Kea solver function.

Takes an array of bodies and a MdtKeaConstraints struct (which defines the constraints as defined above), as well as an array indicating which constraints are to be solved together as one partition. It solves each partition and evolves the system.

Parameters:
constraints   A MdtKeaConstraints struct containing constraint rows generated by MdtBcl functions.
blist   Array of MdtKeaBody structs to be simulated.
tlist   Array of MdtKeaTransformation structs that correspond to blist.
num_bodies   Number of bodies/transformations in blist/tlist
parameters   A MdtKeaParameters structure containing stepsize, memory pool etc.

MathEngine Dynamics Toolkit - Version 0.0.5 Alpha - Reference Manual generated using doxygen at Wed Oct 11 00:34:48 2000

Copyright MathEngine PLC 2000, all rights reserved.