The verlet Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The verlet Reference Manual

This is the verlet Reference Manual, version 0.0.8, generated automatically by Declt version 3.0 "Montgomery Scott" on Sun May 15 06:25:56 2022 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

Verlet physics library

Table of Contents

[in package VERLET]

1 VERLET ASDF System Details

2 Interface

2.1 Force

2.2 Physics System

2.3 Particles

2.4 Springs

2.4.1 Linear Springs

2.4.2 Area Springs

Area springs are hard to predict and may be buggy in unknown ways. Combining them with standard or volume springs seems to violato conservation of momentum.

2.4.3 Volume Springs

Volume springs are hard to predict and may be buggy in unknown ways. Combining them with standard or area springs seems to violate conservation of momentum.

2.5 Modificators

2.5.1 Damper

2.5.2 Gravity

2.5.2.1 Global Gravity

2.5.2.2 Mutual Gravity

2.5.2.3 Field Gravity

2.5.3 Constraints

2.5.3.1 Plane Constraints

2.5.3.2 Sphere Constraints

2.5.3.3 Triangle Constraints

2.5.4 Friction

2.5.4.1 Global Friction

2.5.4.2 Field Friction

2.5.4.3 Constraint Friction


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 verlet

Author

Thomas Bartscher <thomas-bartscher@weltraumschlangen.de>

License

BSD-3

Description

Verlet is a simple physics engine based on verlet
integration. It supports particles with position and direction, springs between particles, global gravity as well as gravity between particles, and spacial constraints.

Version

0.0.8

Dependencies
Source

verlet.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Next: , Previous: , Up: Modules   [Contents][Index]

3.1 verlet/utility

Dependency

package.lisp (file)

Parent

verlet (system)

Location

utility/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.2 verlet/source

Dependencies
Parent

verlet (system)

Location

source/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.3 verlet/source/spring

Dependencies
Parent

source (module)

Location

source/spring/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.4 verlet/source/gravity

Dependencies
Parent

source (module)

Location

source/gravity/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.5 verlet/source/constraint

Dependencies
Parent

source (module)

Location

source/constraint/

Components

Previous: , Up: Modules   [Contents][Index]

3.6 verlet/source/friction

Dependencies
Parent

source (module)

Location

source/friction/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 verlet.asd

Location

verlet.asd

Systems

verlet (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 verlet/package.lisp

Parent

verlet (system)

Location

package.lisp

Packages

verlet

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 verlet/utility/algebra.lisp

Parent

utility (module)

Location

utility/algebra.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 verlet/utility/set.lisp

Parent

utility (module)

Location

utility/set.lisp

Internal Definitions

union* (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 verlet/source/force.lisp

Parent

source (module)

Location

source/force.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 verlet/source/particle.lisp

Parent

source (module)

Location

source/particle.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 verlet/source/physics-loop.lisp

Dependency

force.lisp (file)

Parent

source (module)

Location

source/physics-loop.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 verlet/source/spring/linear.lisp

Parent

spring (module)

Location

source/spring/linear.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 verlet/source/spring/area.lisp

Parent

spring (module)

Location

source/spring/area.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 verlet/source/spring/volume.lisp

Parent

spring (module)

Location

source/spring/volume.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 verlet/source/spring/force.lisp

Dependencies
Parent

spring (module)

Location

source/spring/force.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 verlet/source/modificator.lisp

Dependency

particle.lisp (file)

Parent

source (module)

Location

source/modificator.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.13 verlet/source/damper.lisp

Dependencies
Parent

source (module)

Location

source/damper.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.14 verlet/source/gravity/gravity.lisp

Parent

gravity (module)

Location

source/gravity/gravity.lisp

Exported Definitions

@gravity (special variable)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.15 verlet/source/gravity/global.lisp

Parent

gravity (module)

Location

source/gravity/global.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.16 verlet/source/gravity/mutual.lisp

Parent

gravity (module)

Location

source/gravity/mutual.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.17 verlet/source/gravity/field.lisp

Parent

gravity (module)

Location

source/gravity/field.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.18 verlet/source/constraint/constraint.lisp

Parent

constraint (module)

Location

source/constraint/constraint.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.19 verlet/source/constraint/plane.lisp

Dependency

constraint.lisp (file)

Parent

constraint (module)

Location

source/constraint/plane.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.20 verlet/source/constraint/sphere.lisp

Dependency

constraint.lisp (file)

Parent

constraint (module)

Location

source/constraint/sphere.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.21 verlet/source/constraint/triangle.lisp

Dependency

constraint.lisp (file)

Parent

constraint (module)

Location

source/constraint/triangle.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.22 verlet/source/friction/friction.lisp

Parent

friction (module)

Location

source/friction/friction.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.23 verlet/source/friction/global.lisp

Dependency

friction.lisp (file)

Parent

friction (module)

Location

source/friction/global.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.24 verlet/source/friction/field.lisp

Dependency

friction.lisp (file)

Parent

friction (module)

Location

source/friction/field.lisp

Exported Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.25 verlet/source/friction/constraint.lisp

Dependency

friction.lisp (file)

Parent

friction (module)

Location

source/friction/constraint.lisp

Exported Definitions
Internal Definitions

constraint<- (method)


Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

5.1 verlet

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: @area-spring
Package

verlet

Source

area.lisp (file)

Special Variable: @constraint
Package

verlet

Source

constraint.lisp (file)

Special Variable: @constraint-friction
Package

verlet

Source

constraint.lisp (file)

Special Variable: @damper
Package

verlet

Source

damper.lisp (file)

Special Variable: @field-friction
Package

verlet

Source

field.lisp (file)

Special Variable: @field-gravity
Package

verlet

Source

field.lisp (file)

Special Variable: @force
Package

verlet

Source

force.lisp (file)

Special Variable: @friction
Package

verlet

Source

friction.lisp (file)

Special Variable: @global-friction
Package

verlet

Source

global.lisp (file)

Special Variable: @global-gravity
Package

verlet

Source

global.lisp (file)

Special Variable: @gravity
Package

verlet

Source

gravity.lisp (file)

Special Variable: @interface
Package

verlet

Source

package.lisp (file)

Special Variable: @linear-spring
Package

verlet

Source

linear.lisp (file)

Special Variable: @modificator
Package

verlet

Source

modificator.lisp (file)

Special Variable: @mutual-gravity
Package

verlet

Source

mutual.lisp (file)

Special Variable: @particle
Package

verlet

Source

particle.lisp (file)

Special Variable: @physics-system
Package

verlet

Source

physics-loop.lisp (file)

Special Variable: @plane-constraint
Package

verlet

Source

plane.lisp (file)

Special Variable: @sphere-constraint
Package

verlet

Source

sphere.lisp (file)

Special Variable: @spring
Package

verlet

Source

linear.lisp (file)

Special Variable: @triangle-constraint
Package

verlet

Source

triangle.lisp (file)

Special Variable: @verlet
Package

verlet

Source

package.lisp (file)

Special Variable: @volume-spring
Package

verlet

Source

volume.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Macros

Macro: build-system (&rest PARTICLES) &body FORCES

Build up a standard physics SYSTEM using defined forces.

PARTICLES is a list with items of the form
‘((X Y Z) &KEY (MASS 1.0) PREVIOUS-POSITION VELOCITY)‘.
The list at the beginning describes the position of the particle, for the meaning of the keyword arguments reference the ‘[PARTICLE]‘ function.

FORCES is a list of force descriptors, as defined by the DEFORCE macro. The respective forces are going to be added to the final system.

Package

verlet

Source

physics-loop.lisp (file)

Macro: deforce NAME MODE (&rest LAMBDA-LIST) &body BODY

Define a force so it is usable in the BUILD-SYSTEM macro.

MODE is required to be one of :FORCE, :VELOCITY-DEPENDENT-FORCE, :CONSTRAINT, and :COLLISION. Reference the STEP! function for more information on what these mean.

The LAMBDA-LIST is tha lambda list used by the local macro in the BUILD-SYSTEM macro call, BODY is it’s body. The resulting code should return the object to add to the system under construction. PARTICLES is an anaphoric variable in the BODY, containing a list of the particles defined by PARTICLES in the BUILD-SYSTEM macro, in the order they are defined in.

Package

verlet

Source

force.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Functions

Function: [area-spring] P1 P2 P3 K &key AREA

Creates an AREA-SPRING with corners P1, P2 and P3, ideal area AREA, and spring constant K. AREA defaults to the area enclosed by the supplied particles.

Package

verlet

Source

area.lisp (file)

Function: [constraint-friction] CONSTRAINT FRICTION

Creates CONSTRAINT-FRICTION which applies friction FRICTION to subjects on collision with CONSTRAINT. Note that the subject of the CONSTRAINT-FRICTION instance and of the constraint need not necessarily be the same.

Package

verlet

Source

constraint.lisp (file)

Function: [damper] D &rest PARTICLES
Package

verlet

Source

damper.lisp (file)

Function: [field-friction] FIELD

Creates [FIELD-FRICTION][class] with friction field FIELD. FIELD must map 3D positions to friction values.

Package

verlet

Source

field.lisp (file)

Function: [field-gravity] FIELD

Creates [FIELD-GRAVITY][class] with gravity field FIELD. FIELD must map positions ‘(SIMPLE-ARRAY SINGLE-FLOAT (3))‘s to gravity vectors ‘(SIMPLE-ARRAY SINGLE-FLOAT (3))‘.

Package

verlet

Source

field.lisp (file)

Function: [global-friction] FRICTION
Package

verlet

Source

global.lisp (file)

Function: [global-gravity] GRAVITY

Creates an instance of [GLOBAL-GRAVITY][class] which accelerates all its subjects by GRAVITY on each frame.

Package

verlet

Source

global.lisp (file)

Function: [mutual-gravity] ()
Package

verlet

Source

mutual.lisp (file)

Function: [particle] POSITION &key MASS PREVIOUS-POSITION VELOCITY

Returns an instance of class PARTICLE at POSITION. Provide only one keyword argument among PREVIOUS-POSITION and VELOCITY, since the respective other is calculated from the provided. If none are provided, assume a velocity of 0.

Package

verlet

Source

particle.lisp (file)

Function: [plane-constraint] POINT NORMAL

Creates a [PLANE-CONSTRAINT][class] restricting all subjects to a half-space defined by the plane containing POINT with normal NORMAL. The usable half-space is the closed half-space that NORMAL is pointing into.

Package

verlet

Source

plane.lisp (file)

Function: [sphere-constraint] CENTER RADIUS &optional OUTER-WALL?

Creates a [SPHERE-CONSTRAINT][class] with center CENTER and radius
RADIUS. CENTER is a ‘(SIMPLE-ARRAY SINGLE-FLOAT (3))‘, RADIUS a SINGLE-FLOAT. When OUTER-WALL? is truthy, movement is restricted to the closed ball described by the sphere, otherwise movement is constricted to the outside of the open ball described by the sphere.

Package

verlet

Source

sphere.lisp (file)

Function: [spring] P1 P2 K &key LENGTH

Create a [SPRING][class] connecting the ‘PARTICLE‘s P1 and P2, with ideal length LENGTH and spring constant K. LENGTH defaults to the distance between P1 and P2.

Package

verlet

Source

linear.lisp (file)

Function: [system] ()
Package

verlet

Source

physics-loop.lisp (file)

Function: [triangle-constraint] P1 P2 P3

Create a [TRIANGLE-CONSTRAINT][class] preventing particles moving through the triangle enclosed by P1, P2, and P3

Package

verlet

Source

triangle.lisp (file)

Function: [volume-spring] P1 P2 P3 P4 K &key VOLUME

Create a VOLUME-SPRING with corners P1, P2, P3 and P4, ideal volume VOLUME, and spring constant K. VOLUME defaults to the volume enclosed by the given particles.

Package

verlet

Source

volume.lisp (file)

Function: accelerate! PARTICLE DV
Package

verlet

Source

particle.lisp (file)

Function: deflect! PARTICLE DIRECTION

Moves PARTICLE to TARGET and mirrors the PARTICLE’s velocity on the plane containing TARGET with the change in position as normal.

Package

verlet

Source

particle.lisp (file)

Function: friction! PARTICLE FRICTION DELTA

Reduce the speed of PARTICLE by FRICTION·DELTA to a minimum of speed 0. This means that the PARTICLE’s velocity’s direction is never reversed by this function. Modifies PARTICLE.

Package

verlet

Source

friction.lisp (file)

Function: speed<- PARTICLE

Return the speed of PARTICLE as a SINGLE-FLOAT.

Please note that this is a best guess at the current speed, based on the forces applied so far in the current frame.

Package

verlet

Source

particle.lisp (file)

Function: step! SYSTEM DELTA &key RESOLVE-STEPS

Updates a physical SYSTEM by timestep DELTA.

1. Apply all forces not dependent on the velocity of particles (:FORCE in the DEFORCE macro)
2. Calculate forces depending on velocities of particles, using the memoized velocities so far (:VELOCITY-DEPENDENT-FORCE in the DEFORCE macro)
3. Repeat RESOLVE-STEPS times:
1. Resolve all static constraints (:CONSTRAINT in the DEFORCE macro)
2. Resolve collisions (:COLLISION in the DEFORCE macro)

Please note after STEP! returns, no collisions should be happening, but static constraints might be violated.

Package

verlet

Source

physics-loop.lisp (file)

Function: velocity<- PARTICLE

Return the velocity of PARTICLE as a ‘(SIMPLE-ARRAY SINGLE-FLOAT (3))‘.

Please note that this is a best guess at the current velocity, based on the forces applied so far in the current frame.

Package

verlet

Source

particle.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Generic functions

Generic Function: add-subject MODIFICATOR SUBJECT

Adds a SUBJECT to the MODIFICATOR for tracking.

Package

verlet

Source

modificator.lisp (file)

Methods
Method: add-subject (MODIFICATOR modificator) (SUBJECT particle)
Generic Function: area<- OBJECT
Generic Function: (setf area<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: area<- (AREA-SPRING area-spring)

automatically generated reader method

Source

area.lisp (file)

Method: (setf area<-) NEW-VALUE (AREA-SPRING area-spring)

automatically generated writer method

Source

area.lisp (file)

Generic Function: collisions<- OBJECT
Generic Function: (setf collisions<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: collisions<- (SYSTEM system)

automatically generated reader method

Source

physics-loop.lisp (file)

Method: (setf collisions<-) NEW-VALUE (SYSTEM system)

automatically generated writer method

Source

physics-loop.lisp (file)

Generic Function: constraints<- OBJECT
Generic Function: (setf constraints<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: constraints<- (SYSTEM system)

automatically generated reader method

Source

physics-loop.lisp (file)

Method: (setf constraints<-) NEW-VALUE (SYSTEM system)

automatically generated writer method

Source

physics-loop.lisp (file)

Generic Function: d<- OBJECT
Generic Function: (setf d<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: d<- (DAMPER damper)

automatically generated reader method

Source

damper.lisp (file)

Method: (setf d<-) NEW-VALUE (DAMPER damper)

automatically generated writer method

Source

damper.lisp (file)

Generic Function: deflection-vector CONSTRAINT PARTICLE

Returns the cange in position for PARTICLE to obey CONSTRAINT again.

Package

verlet

Source

constraint.lisp (file)

Methods
Method: deflection-vector (CONSTRAINT triangle-constraint) (PARTICLE particle)
Source

triangle.lisp (file)

Method: deflection-vector (CONSTRAINT sphere-constraint) (PARTICLE particle)
Source

sphere.lisp (file)

Method: deflection-vector (CONSTRAINT plane-constraint) (PARTICLE particle)
Source

plane.lisp (file)

Generic Function: field<- OBJECT
Generic Function: (setf field<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: field<- (FIELD-FRICTION field-friction)

automatically generated reader method

Source

field.lisp (file)

Method: (setf field<-) NEW-VALUE (FIELD-FRICTION field-friction)

automatically generated writer method

Source

field.lisp (file)

Method: field<- (FIELD-GRAVITY field-gravity)

automatically generated reader method

Source

field.lisp (file)

Method: (setf field<-) NEW-VALUE (FIELD-GRAVITY field-gravity)

automatically generated writer method

Source

field.lisp (file)

Generic Function: forces<- OBJECT
Generic Function: (setf forces<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: forces<- (SYSTEM system)

automatically generated reader method

Source

physics-loop.lisp (file)

Method: (setf forces<-) NEW-VALUE (SYSTEM system)

automatically generated writer method

Source

physics-loop.lisp (file)

Generic Function: friction<- OBJECT
Generic Function: (setf friction<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: friction<- (CONSTRAINT-FRICTION constraint-friction)

automatically generated reader method

Source

constraint.lisp (file)

Method: (setf friction<-) NEW-VALUE (CONSTRAINT-FRICTION constraint-friction)

automatically generated writer method

Source

constraint.lisp (file)

Method: friction<- (GLOBAL-FRICTION global-friction)

automatically generated reader method

Source

global.lisp (file)

Method: (setf friction<-) NEW-VALUE (GLOBAL-FRICTION global-friction)

automatically generated writer method

Source

global.lisp (file)

Generic Function: k<- OBJECT
Generic Function: (setf k<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: k<- (VOLUME-SPRING volume-spring)

automatically generated reader method

Source

volume.lisp (file)

Method: (setf k<-) NEW-VALUE (VOLUME-SPRING volume-spring)

automatically generated writer method

Source

volume.lisp (file)

Method: k<- (AREA-SPRING area-spring)

automatically generated reader method

Source

area.lisp (file)

Method: (setf k<-) NEW-VALUE (AREA-SPRING area-spring)

automatically generated writer method

Source

area.lisp (file)

Method: k<- (SPRING spring)

automatically generated reader method

Source

linear.lisp (file)

Method: (setf k<-) NEW-VALUE (SPRING spring)

automatically generated writer method

Source

linear.lisp (file)

Generic Function: length<- OBJECT
Generic Function: (setf length<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: length<- (SPRING spring)

automatically generated reader method

Source

linear.lisp (file)

Method: (setf length<-) NEW-VALUE (SPRING spring)

automatically generated writer method

Source

linear.lisp (file)

Generic Function: mass<- OBJECT
Generic Function: (setf mass<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: mass<- (PARTICLE particle)

automatically generated reader method

Source

particle.lisp (file)

Method: (setf mass<-) NEW-VALUE (PARTICLE particle)

automatically generated writer method

Source

particle.lisp (file)

Generic Function: particles<- OBJECT
Generic Function: (setf particles<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: particles<- (SYSTEM system)

automatically generated reader method

Source

physics-loop.lisp (file)

Method: (setf particles<-) NEW-VALUE (SYSTEM system)

automatically generated writer method

Source

physics-loop.lisp (file)

Generic Function: position<- OBJECT
Generic Function: (setf position<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: position<- (OBJECT simple-array)
Source

particle.lisp (file)

Method: position<- (PARTICLE particle)

automatically generated reader method

Source

particle.lisp (file)

Method: (setf position<-) NEW-VALUE (PARTICLE particle)

automatically generated writer method

Source

particle.lisp (file)

Generic Function: remove-subject MODIFICATOR SUBJECT

Remove a SUBJECT to the MODIFICATOR so it won’t be tracked anymore.

Package

verlet

Source

modificator.lisp (file)

Methods
Method: remove-subject (MODIFICATOR modificator) (SUBJECT particle)
Generic Function: update! OBJECT &optional DELTA
Package

verlet

Source

particle.lisp (file)

Methods
Method: update! (OBJECT constraint-friction) &optional DELTA
Source

constraint.lisp (file)

Method: update! (OBJECT field-friction) &optional DELTA
Source

field.lisp (file)

Method: update! (OBJECT global-friction) &optional DELTA

Apply the global friction to all subjects.

Source

global.lisp (file)

Method: update! (CONSTRAINT constraint) &optional DELTA

Deflects all subjects violating the constraint as per VIOLATED? by the vector defined by DEFLECTION-VECTOR.

Source

constraint.lisp (file)

Method: update! (OBJECT field-gravity) &optional DELTA
Source

field.lisp (file)

Method: update! (GRAVITY mutual-gravity) &optional DELTA
Source

mutual.lisp (file)

Method: update! (GRAVITY global-gravity) &optional DELTA

Accelerate the subjects of GRAVITY by the gravity vector.

Source

global.lisp (file)

Method: update! (DAMPER damper) &optional DELTA
Source

damper.lisp (file)

Method: update! (OBJECT volume-spring) &optional DELTA

Exert a volume-restoring force on the corners of the volume spring.

Source

volume.lisp (file)

Method: update! (OBJECT area-spring) &optional DELTA

Exert an area-restoring force on the corners of the area spring

Source

area.lisp (file)

Method: update! (OBJECT spring) &optional DELTA

Exert a length-restoring force on the endpoints of the linear spring.

Source

linear.lisp (file)

Method: update! (PARTICLE particle) &optional DELTA

Move PARTICLE by DELTA times the ‘PARTICLE‘s velocity.

Generic Function: velocity-dependent-forces<- OBJECT
Generic Function: (setf velocity-dependent-forces<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: velocity-dependent-forces<- (SYSTEM system)

automatically generated reader method

Source

physics-loop.lisp (file)

Method: (setf velocity-dependent-forces<-) NEW-VALUE (SYSTEM system)

automatically generated writer method

Source

physics-loop.lisp (file)

Generic Function: violated? CONSTRAINT PARTICLE

Returns NIL when the constraint is fulfilled and a truthy value otherwise.

Package

verlet

Source

constraint.lisp (file)

Methods
Method: violated? (CONSTRAINT triangle-constraint) (PARTICLE particle)
Source

triangle.lisp (file)

Method: violated? (CONSTRAINT sphere-constraint) (PARTICLE particle)
Source

sphere.lisp (file)

Method: violated? (CONSTRAINT plane-constraint) (PARTICLE particle)
Source

plane.lisp (file)

Generic Function: volume<- OBJECT
Generic Function: (setf volume<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: volume<- (VOLUME-SPRING volume-spring)

automatically generated reader method

Source

volume.lisp (file)

Method: (setf volume<-) NEW-VALUE (VOLUME-SPRING volume-spring)

automatically generated writer method

Source

volume.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Classes

Class: area-spring ()
Package

verlet

Source

area.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: %p1
Type

verlet:particle

Initargs

:p1

Readers

p1<- (generic function)

Slot: %p2
Type

verlet:particle

Initargs

:p2

Readers

p2<- (generic function)

Slot: %p3
Type

verlet:particle

Initargs

:p3

Readers

p3<- (generic function)

Slot: %k
Type

(single-float (0.0))

Initargs

:k

Readers

k<- (generic function)

Writers

(setf k<-) (generic function)

Slot: %area
Type

(single-float 0.0)

Initargs

:area

Readers

area<- (generic function)

Writers

(setf area<-) (generic function)

Class: constraint ()
Package

verlet

Source

constraint.lisp (file)

Direct superclasses

modificator (class)

Direct subclasses
Direct methods

update! (method)

Class: constraint-friction ()
Package

verlet

Source

constraint.lisp (file)

Direct superclasses

modificator (class)

Direct methods
Direct slots
Slot: %constraint
Type

verlet:constraint

Initargs

:constraint

Readers

constraint<- (generic function)

Slot: %friction
Type

(single-float (0.0))

Initargs

:friction

Readers

friction<- (generic function)

Writers

(setf friction<-) (generic function)

Class: damper ()
Package

verlet

Source

damper.lisp (file)

Direct superclasses

modificator (class)

Direct methods
Direct slots
Slot: %d
Type

(single-float (0.0))

Initargs

:d

Readers

d<- (generic function)

Writers

(setf d<-) (generic function)

Class: field-friction ()
Package

verlet

Source

field.lisp (file)

Direct superclasses

modificator (class)

Direct methods
Direct slots
Slot: %field
Type

(function ((simple-array single-float (3))) (single-float 0.0))

Initargs

:field

Readers

field<- (generic function)

Writers

(setf field<-) (generic function)

Class: field-gravity ()
Package

verlet

Source

field.lisp (file)

Direct superclasses

modificator (class)

Direct methods
Direct slots
Slot: %field
Type

(function ((simple-array single-float (3))) (simple-array single-float (3)))

Initargs

:field

Readers

field<- (generic function)

Writers

(setf field<-) (generic function)

Class: global-friction ()
Package

verlet

Source

global.lisp (file)

Direct superclasses

modificator (class)

Direct methods
Direct slots
Slot: %friction
Type

(single-float (0.0))

Initargs

:friction

Readers

friction<- (generic function)

Writers

(setf friction<-) (generic function)

Class: global-gravity ()
Package

verlet

Source

global.lisp (file)

Direct superclasses

modificator (class)

Direct methods
Direct slots
Slot: %gravity
Type

(simple-array single-float (3))

Initargs

:gravity

Readers

gravity<- (generic function)

Writers

(setf gravity<-) (generic function)

Class: modificator ()

MODIFICATOR objects keep track of other objects to modify in a uniform fashion. The MODIFICATOR class itself is not meant to be instanciated. An inheriting class should implement a method for UPDATE! to make use of its subjects.

Package

verlet

Source

modificator.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: %subjects
Type

fset:set

Initform

(fset:set)

Readers

subjects<- (generic function)

Writers

(setf subjects<-) (generic function)

Class: mutual-gravity ()

Applies gravitational force to the tracked particles according to the mass of the other tracked particles.

Package

verlet

Source

mutual.lisp (file)

Direct superclasses

modificator (class)

Direct methods

update! (method)

Class: particle ()
Package

verlet

Source

particle.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: %position
Type

(simple-array single-float (3))

Initargs

:position

Readers

position<- (generic function)

Writers

(setf position<-) (generic function)

Slot: %acceleration
Type

(simple-array single-float (3))

Initform

(rtg-math.base-vectors:v! 0 0 0)

Readers

acceleration<- (generic function)

Writers

(setf acceleration<-) (generic function)

Slot: %temp-velocity
Type

(simple-array single-float (3))

Initform

(rtg-math.base-vectors:v! 0 0 0)

Readers

temp-velocity<- (generic function)

Writers

(setf temp-velocity<-) (generic function)

Slot: %previous-position
Type

(simple-array single-float (3))

Initargs

:previous-position

Readers

previous-position<- (generic function)

Writers

(setf previous-position<-) (generic function)

Slot: %previous-delta
Type

(real (0))

Initform

1.0

Readers

previous-delta<- (generic function)

Writers

(setf previous-delta<-) (generic function)

Slot: %actual-previous-position
Type

(simple-array single-float (3))

Initargs

:actual-previous-position

Readers

actual-previous-position<- (generic function)

Writers

(setf actual-previous-position<-) (generic function)

Slot: %mass
Type

(single-float (0.0))

Initargs

:mass

Readers

mass<- (generic function)

Writers

(setf mass<-) (generic function)

Class: plane-constraint ()
Package

verlet

Source

plane.lisp (file)

Direct superclasses

constraint (class)

Direct methods
Direct slots
Slot: %point
Type

(simple-array single-float (3))

Initargs

:point

Readers

point<- (generic function)

Slot: %normal
Type

(simple-array single-float (3))

Initargs

:normal

Readers

normal<- (generic function)

Class: sphere-constraint ()
Package

verlet

Source

sphere.lisp (file)

Direct superclasses

constraint (class)

Direct methods
Direct slots
Slot: %center
Type

(simple-array single-float (3))

Initargs

:center

Readers

center<- (generic function)

Slot: %radius
Type

(single-float (0.0))

Initargs

:radius

Readers

radius<- (generic function)

Slot: %outer-wall?
Type

boolean

Initargs

:outer-wall?

Readers

outer-wall? (generic function)

Class: spring ()
Package

verlet

Source

linear.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: %p1
Type

verlet:particle

Initargs

:p1

Readers

p1<- (generic function)

Slot: %p2
Type

verlet:particle

Initargs

:p2

Readers

p2<- (generic function)

Slot: %k
Type

(single-float (0.0))

Initargs

:k

Readers

k<- (generic function)

Writers

(setf k<-) (generic function)

Slot: %length
Type

(single-float 0.0)

Initargs

:length

Readers

length<- (generic function)

Writers

(setf length<-) (generic function)

Class: system ()
Package

verlet

Source

physics-loop.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: %particles
Type

fset:set

Initform

(fset:set)

Readers

particles<- (generic function)

Writers

(setf particles<-) (generic function)

Slot: %forces
Type

fset:set

Initform

(fset:set)

Readers

forces<- (generic function)

Writers

(setf forces<-) (generic function)

Slot: %velocity-dependent-forces
Type

fset:set

Initform

(fset:set)

Readers

velocity-dependent-forces<- (generic function)

Writers

(setf velocity-dependent-forces<-) (generic function)

Slot: %collisions
Type

fset:set

Initform

(fset:set)

Readers

collisions<- (generic function)

Writers

(setf collisions<-) (generic function)

Slot: %constraints
Type

fset:set

Initform

(fset:set)

Readers

constraints<- (generic function)

Writers

(setf constraints<-) (generic function)

Class: triangle-constraint ()
Package

verlet

Source

triangle.lisp (file)

Direct superclasses

constraint (class)

Direct methods
Direct slots
Slot: %p1
Type

(simple-array single-float (3))

Initargs

:p1

Readers

p1<- (generic function)

Slot: %p2
Type

(simple-array single-float (3))

Initargs

:p2

Readers

p2<- (generic function)

Slot: %p3
Type

(simple-array single-float (3))

Initargs

:p3

Readers

p3<- (generic function)

Class: volume-spring ()
Package

verlet

Source

volume.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: %p1
Type

verlet:particle

Initargs

:p1

Readers

p1<- (generic function)

Slot: %p2
Type

verlet:particle

Initargs

:p2

Readers

p2<- (generic function)

Slot: %p3
Type

verlet:particle

Initargs

:p3

Readers

p3<- (generic function)

Slot: %p4
Type

verlet:particle

Initargs

:p4

Readers

p4<- (generic function)

Slot: %volume
Type

(single-float 0.0)

Initargs

:volume

Readers

volume<- (generic function)

Writers

(setf volume<-) (generic function)

Slot: %k
Type

(single-float (0.0))

Initargs

:k

Readers

k<- (generic function)

Writers

(setf k<-) (generic function)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Functions

Function: apply-force! PARTICLE FORCE
Package

verlet

Source

particle.lisp (file)

Function: center-of-mass PARTICLES
Package

verlet

Source

particle.lisp (file)

Function: find-force NAME
Package

verlet

Source

force.lisp (file)

Function: mirror V P N
Package

verlet

Source

algebra.lisp (file)

Function: next-position PARTICLE DELTA
Package

verlet

Source

particle.lisp (file)

Function: orthogonalize V P N
Package

verlet

Source

algebra.lisp (file)

Function: project V P N
Package

verlet

Source

algebra.lisp (file)

Function: register-force NAME MODE LAMBDA-LIST BODY &optional DOCSTRING
Package

verlet

Source

force.lisp (file)

Function: towards V TARGET LENGTH
Package

verlet

Source

algebra.lisp (file)

Function: union* &rest SETS
Package

verlet

Source

set.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Generic functions

Generic Function: acceleration<- OBJECT
Generic Function: (setf acceleration<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: acceleration<- (PARTICLE particle)

automatically generated reader method

Source

particle.lisp (file)

Method: (setf acceleration<-) NEW-VALUE (PARTICLE particle)

automatically generated writer method

Source

particle.lisp (file)

Generic Function: actual-previous-position<- OBJECT
Generic Function: (setf actual-previous-position<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: actual-previous-position<- (PARTICLE particle)

automatically generated reader method

Source

particle.lisp (file)

Method: (setf actual-previous-position<-) NEW-VALUE (PARTICLE particle)

automatically generated writer method

Source

particle.lisp (file)

Generic Function: center<- OBJECT
Package

verlet

Methods
Method: center<- (SPHERE-CONSTRAINT sphere-constraint)

automatically generated reader method

Source

sphere.lisp (file)

Generic Function: constraint<- OBJECT
Package

verlet

Methods
Method: constraint<- (CONSTRAINT-FRICTION constraint-friction)

automatically generated reader method

Source

constraint.lisp (file)

Generic Function: gravity<- OBJECT
Generic Function: (setf gravity<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: gravity<- (GLOBAL-GRAVITY global-gravity)

automatically generated reader method

Source

global.lisp (file)

Method: (setf gravity<-) NEW-VALUE (GLOBAL-GRAVITY global-gravity)

automatically generated writer method

Source

global.lisp (file)

Generic Function: normal<- OBJECT
Package

verlet

Methods
Method: normal<- (PLANE-CONSTRAINT plane-constraint)

automatically generated reader method

Source

plane.lisp (file)

Generic Function: outer-wall? OBJECT
Package

verlet

Methods
Method: outer-wall? (SPHERE-CONSTRAINT sphere-constraint)

automatically generated reader method

Source

sphere.lisp (file)

Generic Function: p1<- OBJECT
Package

verlet

Methods
Method: p1<- (TRIANGLE-CONSTRAINT triangle-constraint)

automatically generated reader method

Source

triangle.lisp (file)

Method: p1<- (VOLUME-SPRING volume-spring)

automatically generated reader method

Source

volume.lisp (file)

Method: p1<- (AREA-SPRING area-spring)

automatically generated reader method

Source

area.lisp (file)

Method: p1<- (SPRING spring)

automatically generated reader method

Source

linear.lisp (file)

Generic Function: p2<- OBJECT
Package

verlet

Methods
Method: p2<- (TRIANGLE-CONSTRAINT triangle-constraint)

automatically generated reader method

Source

triangle.lisp (file)

Method: p2<- (VOLUME-SPRING volume-spring)

automatically generated reader method

Source

volume.lisp (file)

Method: p2<- (AREA-SPRING area-spring)

automatically generated reader method

Source

area.lisp (file)

Method: p2<- (SPRING spring)

automatically generated reader method

Source

linear.lisp (file)

Generic Function: p3<- OBJECT
Package

verlet

Methods
Method: p3<- (TRIANGLE-CONSTRAINT triangle-constraint)

automatically generated reader method

Source

triangle.lisp (file)

Method: p3<- (VOLUME-SPRING volume-spring)

automatically generated reader method

Source

volume.lisp (file)

Method: p3<- (AREA-SPRING area-spring)

automatically generated reader method

Source

area.lisp (file)

Generic Function: p4<- OBJECT
Package

verlet

Methods
Method: p4<- (VOLUME-SPRING volume-spring)

automatically generated reader method

Source

volume.lisp (file)

Generic Function: point<- OBJECT
Package

verlet

Methods
Method: point<- (PLANE-CONSTRAINT plane-constraint)

automatically generated reader method

Source

plane.lisp (file)

Generic Function: previous-delta<- OBJECT
Generic Function: (setf previous-delta<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: previous-delta<- (PARTICLE particle)

automatically generated reader method

Source

particle.lisp (file)

Method: (setf previous-delta<-) NEW-VALUE (PARTICLE particle)

automatically generated writer method

Source

particle.lisp (file)

Generic Function: previous-position<- OBJECT
Generic Function: (setf previous-position<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: previous-position<- (PARTICLE particle)

automatically generated reader method

Source

particle.lisp (file)

Method: (setf previous-position<-) NEW-VALUE (PARTICLE particle)

automatically generated writer method

Source

particle.lisp (file)

Generic Function: radius<- OBJECT
Package

verlet

Methods
Method: radius<- (SPHERE-CONSTRAINT sphere-constraint)

automatically generated reader method

Source

sphere.lisp (file)

Generic Function: subjects<- OBJECT
Generic Function: (setf subjects<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: subjects<- (MODIFICATOR modificator)

automatically generated reader method

Source

modificator.lisp (file)

Method: (setf subjects<-) NEW-VALUE (MODIFICATOR modificator)

automatically generated writer method

Source

modificator.lisp (file)

Generic Function: temp-velocity<- OBJECT
Generic Function: (setf temp-velocity<-) NEW-VALUE OBJECT
Package

verlet

Methods
Method: temp-velocity<- (PARTICLE particle)

automatically generated reader method

Source

particle.lisp (file)

Method: (setf temp-velocity<-) NEW-VALUE (PARTICLE particle)

automatically generated writer method

Source

particle.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   M   V  
Index Entry  Section

F
File, Lisp, verlet.asd: The verlet․asd file
File, Lisp, verlet/package.lisp: The verlet/package․lisp file
File, Lisp, verlet/source/constraint/constraint.lisp: The verlet/source/constraint/constraint․lisp file
File, Lisp, verlet/source/constraint/plane.lisp: The verlet/source/constraint/plane․lisp file
File, Lisp, verlet/source/constraint/sphere.lisp: The verlet/source/constraint/sphere․lisp file
File, Lisp, verlet/source/constraint/triangle.lisp: The verlet/source/constraint/triangle․lisp file
File, Lisp, verlet/source/damper.lisp: The verlet/source/damper․lisp file
File, Lisp, verlet/source/force.lisp: The verlet/source/force․lisp file
File, Lisp, verlet/source/friction/constraint.lisp: The verlet/source/friction/constraint․lisp file
File, Lisp, verlet/source/friction/field.lisp: The verlet/source/friction/field․lisp file
File, Lisp, verlet/source/friction/friction.lisp: The verlet/source/friction/friction․lisp file
File, Lisp, verlet/source/friction/global.lisp: The verlet/source/friction/global․lisp file
File, Lisp, verlet/source/gravity/field.lisp: The verlet/source/gravity/field․lisp file
File, Lisp, verlet/source/gravity/global.lisp: The verlet/source/gravity/global․lisp file
File, Lisp, verlet/source/gravity/gravity.lisp: The verlet/source/gravity/gravity․lisp file
File, Lisp, verlet/source/gravity/mutual.lisp: The verlet/source/gravity/mutual․lisp file
File, Lisp, verlet/source/modificator.lisp: The verlet/source/modificator․lisp file
File, Lisp, verlet/source/particle.lisp: The verlet/source/particle․lisp file
File, Lisp, verlet/source/physics-loop.lisp: The verlet/source/physics-loop․lisp file
File, Lisp, verlet/source/spring/area.lisp: The verlet/source/spring/area․lisp file
File, Lisp, verlet/source/spring/force.lisp: The verlet/source/spring/force․lisp file
File, Lisp, verlet/source/spring/linear.lisp: The verlet/source/spring/linear․lisp file
File, Lisp, verlet/source/spring/volume.lisp: The verlet/source/spring/volume․lisp file
File, Lisp, verlet/utility/algebra.lisp: The verlet/utility/algebra․lisp file
File, Lisp, verlet/utility/set.lisp: The verlet/utility/set․lisp file

L
Lisp File, verlet.asd: The verlet․asd file
Lisp File, verlet/package.lisp: The verlet/package․lisp file
Lisp File, verlet/source/constraint/constraint.lisp: The verlet/source/constraint/constraint․lisp file
Lisp File, verlet/source/constraint/plane.lisp: The verlet/source/constraint/plane․lisp file
Lisp File, verlet/source/constraint/sphere.lisp: The verlet/source/constraint/sphere․lisp file
Lisp File, verlet/source/constraint/triangle.lisp: The verlet/source/constraint/triangle․lisp file
Lisp File, verlet/source/damper.lisp: The verlet/source/damper․lisp file
Lisp File, verlet/source/force.lisp: The verlet/source/force․lisp file
Lisp File, verlet/source/friction/constraint.lisp: The verlet/source/friction/constraint․lisp file
Lisp File, verlet/source/friction/field.lisp: The verlet/source/friction/field․lisp file
Lisp File, verlet/source/friction/friction.lisp: The verlet/source/friction/friction․lisp file
Lisp File, verlet/source/friction/global.lisp: The verlet/source/friction/global․lisp file
Lisp File, verlet/source/gravity/field.lisp: The verlet/source/gravity/field․lisp file
Lisp File, verlet/source/gravity/global.lisp: The verlet/source/gravity/global․lisp file
Lisp File, verlet/source/gravity/gravity.lisp: The verlet/source/gravity/gravity․lisp file
Lisp File, verlet/source/gravity/mutual.lisp: The verlet/source/gravity/mutual․lisp file
Lisp File, verlet/source/modificator.lisp: The verlet/source/modificator․lisp file
Lisp File, verlet/source/particle.lisp: The verlet/source/particle․lisp file
Lisp File, verlet/source/physics-loop.lisp: The verlet/source/physics-loop․lisp file
Lisp File, verlet/source/spring/area.lisp: The verlet/source/spring/area․lisp file
Lisp File, verlet/source/spring/force.lisp: The verlet/source/spring/force․lisp file
Lisp File, verlet/source/spring/linear.lisp: The verlet/source/spring/linear․lisp file
Lisp File, verlet/source/spring/volume.lisp: The verlet/source/spring/volume․lisp file
Lisp File, verlet/utility/algebra.lisp: The verlet/utility/algebra․lisp file
Lisp File, verlet/utility/set.lisp: The verlet/utility/set․lisp file

M
Module, verlet/source: The verlet/source module
Module, verlet/source/constraint: The verlet/source/constraint module
Module, verlet/source/friction: The verlet/source/friction module
Module, verlet/source/gravity: The verlet/source/gravity module
Module, verlet/source/spring: The verlet/source/spring module
Module, verlet/utility: The verlet/utility module

V
verlet.asd: The verlet․asd file
verlet/package.lisp: The verlet/package․lisp file
verlet/source: The verlet/source module
verlet/source/constraint: The verlet/source/constraint module
verlet/source/constraint/constraint.lisp: The verlet/source/constraint/constraint․lisp file
verlet/source/constraint/plane.lisp: The verlet/source/constraint/plane․lisp file
verlet/source/constraint/sphere.lisp: The verlet/source/constraint/sphere․lisp file
verlet/source/constraint/triangle.lisp: The verlet/source/constraint/triangle․lisp file
verlet/source/damper.lisp: The verlet/source/damper․lisp file
verlet/source/force.lisp: The verlet/source/force․lisp file
verlet/source/friction: The verlet/source/friction module
verlet/source/friction/constraint.lisp: The verlet/source/friction/constraint․lisp file
verlet/source/friction/field.lisp: The verlet/source/friction/field․lisp file
verlet/source/friction/friction.lisp: The verlet/source/friction/friction․lisp file
verlet/source/friction/global.lisp: The verlet/source/friction/global․lisp file
verlet/source/gravity: The verlet/source/gravity module
verlet/source/gravity/field.lisp: The verlet/source/gravity/field․lisp file
verlet/source/gravity/global.lisp: The verlet/source/gravity/global․lisp file
verlet/source/gravity/gravity.lisp: The verlet/source/gravity/gravity․lisp file
verlet/source/gravity/mutual.lisp: The verlet/source/gravity/mutual․lisp file
verlet/source/modificator.lisp: The verlet/source/modificator․lisp file
verlet/source/particle.lisp: The verlet/source/particle․lisp file
verlet/source/physics-loop.lisp: The verlet/source/physics-loop․lisp file
verlet/source/spring: The verlet/source/spring module
verlet/source/spring/area.lisp: The verlet/source/spring/area․lisp file
verlet/source/spring/force.lisp: The verlet/source/spring/force․lisp file
verlet/source/spring/linear.lisp: The verlet/source/spring/linear․lisp file
verlet/source/spring/volume.lisp: The verlet/source/spring/volume․lisp file
verlet/utility: The verlet/utility module
verlet/utility/algebra.lisp: The verlet/utility/algebra․lisp file
verlet/utility/set.lisp: The verlet/utility/set․lisp file

Jump to:   F   L   M   V  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (   [  
A   B   C   D   F   G   K   L   M   N   O   P   R   S   T   U   V  
Index Entry  Section

(
(setf acceleration<-): Internal generic functions
(setf acceleration<-): Internal generic functions
(setf actual-previous-position<-): Internal generic functions
(setf actual-previous-position<-): Internal generic functions
(setf area<-): Exported generic functions
(setf area<-): Exported generic functions
(setf collisions<-): Exported generic functions
(setf collisions<-): Exported generic functions
(setf constraints<-): Exported generic functions
(setf constraints<-): Exported generic functions
(setf d<-): Exported generic functions
(setf d<-): Exported generic functions
(setf field<-): Exported generic functions
(setf field<-): Exported generic functions
(setf field<-): Exported generic functions
(setf forces<-): Exported generic functions
(setf forces<-): Exported generic functions
(setf friction<-): Exported generic functions
(setf friction<-): Exported generic functions
(setf friction<-): Exported generic functions
(setf gravity<-): Internal generic functions
(setf gravity<-): Internal generic functions
(setf k<-): Exported generic functions
(setf k<-): Exported generic functions
(setf k<-): Exported generic functions
(setf k<-): Exported generic functions
(setf length<-): Exported generic functions
(setf length<-): Exported generic functions
(setf mass<-): Exported generic functions
(setf mass<-): Exported generic functions
(setf particles<-): Exported generic functions
(setf particles<-): Exported generic functions
(setf position<-): Exported generic functions
(setf position<-): Exported generic functions
(setf previous-delta<-): Internal generic functions
(setf previous-delta<-): Internal generic functions
(setf previous-position<-): Internal generic functions
(setf previous-position<-): Internal generic functions
(setf subjects<-): Internal generic functions
(setf subjects<-): Internal generic functions
(setf temp-velocity<-): Internal generic functions
(setf temp-velocity<-): Internal generic functions
(setf velocity-dependent-forces<-): Exported generic functions
(setf velocity-dependent-forces<-): Exported generic functions
(setf volume<-): Exported generic functions
(setf volume<-): Exported generic functions

[
[area-spring]: Exported functions
[constraint-friction]: Exported functions
[damper]: Exported functions
[field-friction]: Exported functions
[field-gravity]: Exported functions
[global-friction]: Exported functions
[global-gravity]: Exported functions
[mutual-gravity]: Exported functions
[particle]: Exported functions
[plane-constraint]: Exported functions
[sphere-constraint]: Exported functions
[spring]: Exported functions
[system]: Exported functions
[triangle-constraint]: Exported functions
[volume-spring]: Exported functions

A
accelerate!: Exported functions
acceleration<-: Internal generic functions
acceleration<-: Internal generic functions
actual-previous-position<-: Internal generic functions
actual-previous-position<-: Internal generic functions
add-subject: Exported generic functions
add-subject: Exported generic functions
apply-force!: Internal functions
area<-: Exported generic functions
area<-: Exported generic functions

B
build-system: Exported macros

C
center-of-mass: Internal functions
center<-: Internal generic functions
center<-: Internal generic functions
collisions<-: Exported generic functions
collisions<-: Exported generic functions
constraint<-: Internal generic functions
constraint<-: Internal generic functions
constraints<-: Exported generic functions
constraints<-: Exported generic functions

D
d<-: Exported generic functions
d<-: Exported generic functions
deflect!: Exported functions
deflection-vector: Exported generic functions
deflection-vector: Exported generic functions
deflection-vector: Exported generic functions
deflection-vector: Exported generic functions
deforce: Exported macros

F
field<-: Exported generic functions
field<-: Exported generic functions
field<-: Exported generic functions
find-force: Internal functions
forces<-: Exported generic functions
forces<-: Exported generic functions
friction!: Exported functions
friction<-: Exported generic functions
friction<-: Exported generic functions
friction<-: Exported generic functions
Function, accelerate!: Exported functions
Function, apply-force!: Internal functions
Function, center-of-mass: Internal functions
Function, deflect!: Exported functions
Function, find-force: Internal functions
Function, friction!: Exported functions
Function, mirror: Internal functions
Function, next-position: Internal functions
Function, orthogonalize: Internal functions
Function, project: Internal functions
Function, register-force: Internal functions
Function, speed<-: Exported functions
Function, step!: Exported functions
Function, towards: Internal functions
Function, union*: Internal functions
Function, velocity<-: Exported functions
Function, [area-spring]: Exported functions
Function, [constraint-friction]: Exported functions
Function, [damper]: Exported functions
Function, [field-friction]: Exported functions
Function, [field-gravity]: Exported functions
Function, [global-friction]: Exported functions
Function, [global-gravity]: Exported functions
Function, [mutual-gravity]: Exported functions
Function, [particle]: Exported functions
Function, [plane-constraint]: Exported functions
Function, [sphere-constraint]: Exported functions
Function, [spring]: Exported functions
Function, [system]: Exported functions
Function, [triangle-constraint]: Exported functions
Function, [volume-spring]: Exported functions

G
Generic Function, (setf acceleration<-): Internal generic functions
Generic Function, (setf actual-previous-position<-): Internal generic functions
Generic Function, (setf area<-): Exported generic functions
Generic Function, (setf collisions<-): Exported generic functions
Generic Function, (setf constraints<-): Exported generic functions
Generic Function, (setf d<-): Exported generic functions
Generic Function, (setf field<-): Exported generic functions
Generic Function, (setf forces<-): Exported generic functions
Generic Function, (setf friction<-): Exported generic functions
Generic Function, (setf gravity<-): Internal generic functions
Generic Function, (setf k<-): Exported generic functions
Generic Function, (setf length<-): Exported generic functions
Generic Function, (setf mass<-): Exported generic functions
Generic Function, (setf particles<-): Exported generic functions
Generic Function, (setf position<-): Exported generic functions
Generic Function, (setf previous-delta<-): Internal generic functions
Generic Function, (setf previous-position<-): Internal generic functions
Generic Function, (setf subjects<-): Internal generic functions
Generic Function, (setf temp-velocity<-): Internal generic functions
Generic Function, (setf velocity-dependent-forces<-): Exported generic functions
Generic Function, (setf volume<-): Exported generic functions
Generic Function, acceleration<-: Internal generic functions
Generic Function, actual-previous-position<-: Internal generic functions
Generic Function, add-subject: Exported generic functions
Generic Function, area<-: Exported generic functions
Generic Function, center<-: Internal generic functions
Generic Function, collisions<-: Exported generic functions
Generic Function, constraint<-: Internal generic functions
Generic Function, constraints<-: Exported generic functions
Generic Function, d<-: Exported generic functions
Generic Function, deflection-vector: Exported generic functions
Generic Function, field<-: Exported generic functions
Generic Function, forces<-: Exported generic functions
Generic Function, friction<-: Exported generic functions
Generic Function, gravity<-: Internal generic functions
Generic Function, k<-: Exported generic functions
Generic Function, length<-: Exported generic functions
Generic Function, mass<-: Exported generic functions
Generic Function, normal<-: Internal generic functions
Generic Function, outer-wall?: Internal generic functions
Generic Function, p1<-: Internal generic functions
Generic Function, p2<-: Internal generic functions
Generic Function, p3<-: Internal generic functions
Generic Function, p4<-: Internal generic functions
Generic Function, particles<-: Exported generic functions
Generic Function, point<-: Internal generic functions
Generic Function, position<-: Exported generic functions
Generic Function, previous-delta<-: Internal generic functions
Generic Function, previous-position<-: Internal generic functions
Generic Function, radius<-: Internal generic functions
Generic Function, remove-subject: Exported generic functions
Generic Function, subjects<-: Internal generic functions
Generic Function, temp-velocity<-: Internal generic functions
Generic Function, update!: Exported generic functions
Generic Function, velocity-dependent-forces<-: Exported generic functions
Generic Function, violated?: Exported generic functions
Generic Function, volume<-: Exported generic functions
gravity<-: Internal generic functions
gravity<-: Internal generic functions

K
k<-: Exported generic functions
k<-: Exported generic functions
k<-: Exported generic functions
k<-: Exported generic functions

L
length<-: Exported generic functions
length<-: Exported generic functions

M
Macro, build-system: Exported macros
Macro, deforce: Exported macros
mass<-: Exported generic functions
mass<-: Exported generic functions
Method, (setf acceleration<-): Internal generic functions
Method, (setf actual-previous-position<-): Internal generic functions
Method, (setf area<-): Exported generic functions
Method, (setf collisions<-): Exported generic functions
Method, (setf constraints<-): Exported generic functions
Method, (setf d<-): Exported generic functions
Method, (setf field<-): Exported generic functions
Method, (setf field<-): Exported generic functions
Method, (setf forces<-): Exported generic functions
Method, (setf friction<-): Exported generic functions
Method, (setf friction<-): Exported generic functions
Method, (setf gravity<-): Internal generic functions
Method, (setf k<-): Exported generic functions
Method, (setf k<-): Exported generic functions
Method, (setf k<-): Exported generic functions
Method, (setf length<-): Exported generic functions
Method, (setf mass<-): Exported generic functions
Method, (setf particles<-): Exported generic functions
Method, (setf position<-): Exported generic functions
Method, (setf previous-delta<-): Internal generic functions
Method, (setf previous-position<-): Internal generic functions
Method, (setf subjects<-): Internal generic functions
Method, (setf temp-velocity<-): Internal generic functions
Method, (setf velocity-dependent-forces<-): Exported generic functions
Method, (setf volume<-): Exported generic functions
Method, acceleration<-: Internal generic functions
Method, actual-previous-position<-: Internal generic functions
Method, add-subject: Exported generic functions
Method, area<-: Exported generic functions
Method, center<-: Internal generic functions
Method, collisions<-: Exported generic functions
Method, constraint<-: Internal generic functions
Method, constraints<-: Exported generic functions
Method, d<-: Exported generic functions
Method, deflection-vector: Exported generic functions
Method, deflection-vector: Exported generic functions
Method, deflection-vector: Exported generic functions
Method, field<-: Exported generic functions
Method, field<-: Exported generic functions
Method, forces<-: Exported generic functions
Method, friction<-: Exported generic functions
Method, friction<-: Exported generic functions
Method, gravity<-: Internal generic functions
Method, k<-: Exported generic functions
Method, k<-: Exported generic functions
Method, k<-: Exported generic functions
Method, length<-: Exported generic functions
Method, mass<-: Exported generic functions
Method, normal<-: Internal generic functions
Method, outer-wall?: Internal generic functions
Method, p1<-: Internal generic functions
Method, p1<-: Internal generic functions
Method, p1<-: Internal generic functions
Method, p1<-: Internal generic functions
Method, p2<-: Internal generic functions
Method, p2<-: Internal generic functions
Method, p2<-: Internal generic functions
Method, p2<-: Internal generic functions
Method, p3<-: Internal generic functions
Method, p3<-: Internal generic functions
Method, p3<-: Internal generic functions
Method, p4<-: Internal generic functions
Method, particles<-: Exported generic functions
Method, point<-: Internal generic functions
Method, position<-: Exported generic functions
Method, position<-: Exported generic functions
Method, previous-delta<-: Internal generic functions
Method, previous-position<-: Internal generic functions
Method, radius<-: Internal generic functions
Method, remove-subject: Exported generic functions
Method, subjects<-: Internal generic functions
Method, temp-velocity<-: Internal generic functions
Method, update!: Exported generic functions
Method, update!: Exported generic functions
Method, update!: Exported generic functions
Method, update!: Exported generic functions
Method, update!: Exported generic functions
Method, update!: Exported generic functions
Method, update!: Exported generic functions
Method, update!: Exported generic functions
Method, update!: Exported generic functions
Method, update!: Exported generic functions
Method, update!: Exported generic functions
Method, update!: Exported generic functions
Method, velocity-dependent-forces<-: Exported generic functions
Method, violated?: Exported generic functions
Method, violated?: Exported generic functions
Method, violated?: Exported generic functions
Method, volume<-: Exported generic functions
mirror: Internal functions

N
next-position: Internal functions
normal<-: Internal generic functions
normal<-: Internal generic functions

O
orthogonalize: Internal functions
outer-wall?: Internal generic functions
outer-wall?: Internal generic functions

P
p1<-: Internal generic functions
p1<-: Internal generic functions
p1<-: Internal generic functions
p1<-: Internal generic functions
p1<-: Internal generic functions
p2<-: Internal generic functions
p2<-: Internal generic functions
p2<-: Internal generic functions
p2<-: Internal generic functions
p2<-: Internal generic functions
p3<-: Internal generic functions
p3<-: Internal generic functions
p3<-: Internal generic functions
p3<-: Internal generic functions
p4<-: Internal generic functions
p4<-: Internal generic functions
particles<-: Exported generic functions
particles<-: Exported generic functions
point<-: Internal generic functions
point<-: Internal generic functions
position<-: Exported generic functions
position<-: Exported generic functions
position<-: Exported generic functions
previous-delta<-: Internal generic functions
previous-delta<-: Internal generic functions
previous-position<-: Internal generic functions
previous-position<-: Internal generic functions
project: Internal functions

R
radius<-: Internal generic functions
radius<-: Internal generic functions
register-force: Internal functions
remove-subject: Exported generic functions
remove-subject: Exported generic functions

S
speed<-: Exported functions
step!: Exported functions
subjects<-: Internal generic functions
subjects<-: Internal generic functions

T
temp-velocity<-: Internal generic functions
temp-velocity<-: Internal generic functions
towards: Internal functions

U
union*: Internal functions
update!: Exported generic functions
update!: Exported generic functions
update!: Exported generic functions
update!: Exported generic functions
update!: Exported generic functions
update!: Exported generic functions
update!: Exported generic functions
update!: Exported generic functions
update!: Exported generic functions
update!: Exported generic functions
update!: Exported generic functions
update!: Exported generic functions
update!: Exported generic functions

V
velocity-dependent-forces<-: Exported generic functions
velocity-dependent-forces<-: Exported generic functions
velocity<-: Exported functions
violated?: Exported generic functions
violated?: Exported generic functions
violated?: Exported generic functions
violated?: Exported generic functions
volume<-: Exported generic functions
volume<-: Exported generic functions

Jump to:   (   [  
A   B   C   D   F   G   K   L   M   N   O   P   R   S   T   U   V  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   %   @  
S  
Index Entry  Section

%
%acceleration: Exported classes
%actual-previous-position: Exported classes
%area: Exported classes
%center: Exported classes
%collisions: Exported classes
%constraint: Exported classes
%constraints: Exported classes
%d: Exported classes
%field: Exported classes
%field: Exported classes
%forces: Exported classes
%friction: Exported classes
%friction: Exported classes
%gravity: Exported classes
%k: Exported classes
%k: Exported classes
%k: Exported classes
%length: Exported classes
%mass: Exported classes
%normal: Exported classes
%outer-wall?: Exported classes
%p1: Exported classes
%p1: Exported classes
%p1: Exported classes
%p1: Exported classes
%p2: Exported classes
%p2: Exported classes
%p2: Exported classes
%p2: Exported classes
%p3: Exported classes
%p3: Exported classes
%p3: Exported classes
%p4: Exported classes
%particles: Exported classes
%point: Exported classes
%position: Exported classes
%previous-delta: Exported classes
%previous-position: Exported classes
%radius: Exported classes
%subjects: Exported classes
%temp-velocity: Exported classes
%velocity-dependent-forces: Exported classes
%volume: Exported classes

@
@area-spring: Exported special variables
@constraint: Exported special variables
@constraint-friction: Exported special variables
@damper: Exported special variables
@field-friction: Exported special variables
@field-gravity: Exported special variables
@force: Exported special variables
@friction: Exported special variables
@global-friction: Exported special variables
@global-gravity: Exported special variables
@gravity: Exported special variables
@interface: Exported special variables
@linear-spring: Exported special variables
@modificator: Exported special variables
@mutual-gravity: Exported special variables
@particle: Exported special variables
@physics-system: Exported special variables
@plane-constraint: Exported special variables
@sphere-constraint: Exported special variables
@spring: Exported special variables
@triangle-constraint: Exported special variables
@verlet: Exported special variables
@volume-spring: Exported special variables

S
Slot, %acceleration: Exported classes
Slot, %actual-previous-position: Exported classes
Slot, %area: Exported classes
Slot, %center: Exported classes
Slot, %collisions: Exported classes
Slot, %constraint: Exported classes
Slot, %constraints: Exported classes
Slot, %d: Exported classes
Slot, %field: Exported classes
Slot, %field: Exported classes
Slot, %forces: Exported classes
Slot, %friction: Exported classes
Slot, %friction: Exported classes
Slot, %gravity: Exported classes
Slot, %k: Exported classes
Slot, %k: Exported classes
Slot, %k: Exported classes
Slot, %length: Exported classes
Slot, %mass: Exported classes
Slot, %normal: Exported classes
Slot, %outer-wall?: Exported classes
Slot, %p1: Exported classes
Slot, %p1: Exported classes
Slot, %p1: Exported classes
Slot, %p1: Exported classes
Slot, %p2: Exported classes
Slot, %p2: Exported classes
Slot, %p2: Exported classes
Slot, %p2: Exported classes
Slot, %p3: Exported classes
Slot, %p3: Exported classes
Slot, %p3: Exported classes
Slot, %p4: Exported classes
Slot, %particles: Exported classes
Slot, %point: Exported classes
Slot, %position: Exported classes
Slot, %previous-delta: Exported classes
Slot, %previous-position: Exported classes
Slot, %radius: Exported classes
Slot, %subjects: Exported classes
Slot, %temp-velocity: Exported classes
Slot, %velocity-dependent-forces: Exported classes
Slot, %volume: Exported classes
Special Variable, @area-spring: Exported special variables
Special Variable, @constraint: Exported special variables
Special Variable, @constraint-friction: Exported special variables
Special Variable, @damper: Exported special variables
Special Variable, @field-friction: Exported special variables
Special Variable, @field-gravity: Exported special variables
Special Variable, @force: Exported special variables
Special Variable, @friction: Exported special variables
Special Variable, @global-friction: Exported special variables
Special Variable, @global-gravity: Exported special variables
Special Variable, @gravity: Exported special variables
Special Variable, @interface: Exported special variables
Special Variable, @linear-spring: Exported special variables
Special Variable, @modificator: Exported special variables
Special Variable, @mutual-gravity: Exported special variables
Special Variable, @particle: Exported special variables
Special Variable, @physics-system: Exported special variables
Special Variable, @plane-constraint: Exported special variables
Special Variable, @sphere-constraint: Exported special variables
Special Variable, @spring: Exported special variables
Special Variable, @triangle-constraint: Exported special variables
Special Variable, @verlet: Exported special variables
Special Variable, @volume-spring: Exported special variables

Jump to:   %   @  
S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   A   C   D   F   G   M   P   S   T   V  
Index Entry  Section

A
area-spring: Exported classes

C
Class, area-spring: Exported classes
Class, constraint: Exported classes
Class, constraint-friction: Exported classes
Class, damper: Exported classes
Class, field-friction: Exported classes
Class, field-gravity: Exported classes
Class, global-friction: Exported classes
Class, global-gravity: Exported classes
Class, modificator: Exported classes
Class, mutual-gravity: Exported classes
Class, particle: Exported classes
Class, plane-constraint: Exported classes
Class, sphere-constraint: Exported classes
Class, spring: Exported classes
Class, system: Exported classes
Class, triangle-constraint: Exported classes
Class, volume-spring: Exported classes
constraint: Exported classes
constraint-friction: Exported classes

D
damper: Exported classes

F
field-friction: Exported classes
field-gravity: Exported classes

G
global-friction: Exported classes
global-gravity: Exported classes

M
modificator: Exported classes
mutual-gravity: Exported classes

P
Package, verlet: The verlet package
particle: Exported classes
plane-constraint: Exported classes

S
sphere-constraint: Exported classes
spring: Exported classes
system: Exported classes
System, verlet: The verlet system

T
triangle-constraint: Exported classes

V
verlet: The verlet system
verlet: The verlet package
volume-spring: Exported classes

Jump to:   A   C   D   F   G   M   P   S   T   V