CpgIntegratorStub

CpgIntegratorStub — Stub integrator

Synopsis

#define             CPG_INTEGRATOR_STUB_CONST           (obj)
struct              CpgIntegratorStub;
struct              CpgIntegratorStubClass;
CpgIntegratorStub * cpg_integrator_stub_new             (void);
void                cpg_integrator_stub_update          (CpgIntegratorStub *stub,
                                                         gdouble t,
                                                         gdouble dt,
                                                         gboolean integrate);
                    CpgIntegratorStubPrivate;

Object Hierarchy

  GObject
   +----CpgObject
         +----CpgIntegrator
               +----CpgIntegratorStub

Implemented Interfaces

CpgIntegratorStub implements CpgUsable, CpgAnnotatable, CpgLayoutable and CpgTaggable.

Description

Stub integrator. This integrator does not really do anything. It can be used as a stub when an external integration scheme is used (for example from matlab).

Details

CPG_INTEGRATOR_STUB_CONST()

#define CPG_INTEGRATOR_STUB_CONST(obj)      (G_TYPE_CHECK_INSTANCE_CAST ((obj), CPG_TYPE_INTEGRATOR_STUB, CpgIntegratorStub const))


struct CpgIntegratorStub

struct CpgIntegratorStub;


struct CpgIntegratorStubClass

struct CpgIntegratorStubClass {
};


cpg_integrator_stub_new ()

CpgIntegratorStub * cpg_integrator_stub_new             (void);

Create a new Stub integrator.

Returns :

A CpgIntegratorStub

cpg_integrator_stub_update ()

void                cpg_integrator_stub_update          (CpgIntegratorStub *stub,
                                                         gdouble t,
                                                         gdouble dt,
                                                         gboolean integrate);

Update the stub integrator. This will reset property values from their update values and optionally calculate the differential equations.

stub :

A CpgIntegratorStub

t :

the time

dt :

the time step

integrate :

whether or not to integrate the system

CpgIntegratorStubPrivate

typedef struct _CpgIntegratorStubPrivate CpgIntegratorStubPrivate;