TAPs 0.7.7.3
TAPsCDFnsGlobalStuff.cpp File Reference
Include dependency graph for TAPsCDFnsGlobalStuff.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BEGIN_NAMESPACE_TAPs__CD__Fn void CalFinalForce ()

Function Documentation

BEGIN_NAMESPACE_TAPs__CD__Fn void CalFinalForce ( )

Definition at line 16 of file TAPsCDFnsGlobalStuff.cpp.

References finalForce, ListOfForces, and Vector3< T >::SetXYZ().

{
    finalForce.SetXYZ( 0, 0, 0 );
    for ( int i = 0; i < static_cast<int>( ListOfForces.size() ); ++i ) {
        finalForce += ListOfForces[i];
    }
}

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines