AerospacePackage 1.0
Public Member Functions | List of all members
collision Class Reference

A collision model. More...

#include <collision.h>

Inherits dsim_model.

Public Member Functions

void initialization_complete ()
 Finish initialization.
 
void initialize_data ()
 Initialize outlets and output variables.
 
void pre_calculate ()
 Computation done prior to numerical integration.
 

Protected Attributes

Model parameters

Minimum distance parameter

dsim_variable min_distance_dsim
 
dsim_variable time_step_change_distance_dsim
 Distance to change time step.
 
dsim_variable time_step_change_ratio_dsim
 Timestep ratio parameter. More...
 

Detailed Description

A collision model.

Determines if two objects are near to each other. Creates a collision target that is watched by this model. The target can be connected to one or more destinations.

Member Data Documentation

◆ time_step_change_ratio_dsim

dsim_variable collision::time_step_change_ratio_dsim
protected

Timestep ratio parameter.

The current timestep will be multiplied by this ratio when the distance between the objects reaches the change_distance parameter.


The documentation for this class was generated from the following files: