Skip to content

rcv911/Henon-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Henon map

Description

This is famous equation in nonlinear dynamics proposed in 1976. So, if you want to find information see Learn more

Motivation

I'm not talking about physics. See, it's about two-parameter analysis of nonlinear system.

  • What does it mean?
    • First, we have two variables parameters. It means, welcome Data Parallelism - OpenMP, Multiprocessing, GPU Parallel , etc.

    • Second, we have useful 'simple' task (you can create work tool for physicists solving big data problem), except test_sin_omp.c. It was for test Open MP.

Results

In the picture colors designate periods, black area corresponds to chaos, white - to divergence of iterations.

Repository Includes

  • henon.c - C file. It calculates data file.
  • henon.py - Python file. It calculates data file.
  • henon_omp.c - C file. It calculates using OpenMP.
  • henon_pool.py - Python file. It calculates using Multiprocessing.
  • plotter.py - Python file made by I.V. Sysoev. It needs for draw plot using special generated data file.
  • test_sin_omp.c - C file. It calculates using OpenMP for configuration test data.

Learn more

Installation

  • <name>.py -> You can use Python with data package: Anaconda or Miniconda. There's another way - use Portable Python. Also you can use whatever IDE for Python.

  • <name>.c -> Make C project and copy code into the your project main.c

License

Free