- 3.0.2 core module.
SymplecticIntegrationTest.cpp File Reference
#include <gtest/gtest.h>
#include <ct/core/core.h>
#include "../system/TestSymplecticSystem.h"

Functions

double uniformRandomNumber (double min, double max)
 
 TEST (SymplecticIntegrationTest, simpleSymplecticTest)
 
int main (int argc, char **argv)
 

Variables

const size_t state_dim = 2
 
const size_t p_dim = 1
 
const size_t v_dim = 1
 
const size_t control_dim = 1
 

Function Documentation

◆ uniformRandomNumber()

double uniformRandomNumber ( double  min,
double  max 
)

Referenced by TEST().

◆ TEST()

TEST ( SymplecticIntegrationTest  ,
simpleSymplecticTest   
)

References dt, i, and uniformRandomNumber().

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ state_dim

◆ p_dim

const size_t p_dim = 1

◆ v_dim

const size_t v_dim = 1

◆ control_dim

const size_t control_dim = 1