oangelo / Lorenz

Program to play with lorenz atractor. using: C++ Netbeans OpenGl/Glutmaster

Clone this repository (size: 12.2 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/oangelo/lorenz
commit 3: d08bbe0b6127
parent 2: 5097f9c29f2f
branch: default
Generalizing the numerical integration
oangelo
5 months ago

Changed (Δ2.7 KB):

raw changeset »

LorenzWindow.cpp (1 lines added, 1 lines removed)

LorenzWindow.h (1 lines added, 1 lines removed)

Numerical_Integration.h (1 lines added, 1 lines removed)

glutMaster.h (1 lines added, 1 lines removed)

main.cpp (1 lines added, 1 lines removed)

nbproject/Makefile-Debug.mk (7 lines added, 1 lines removed)

nbproject/Makefile-Release.mk (6 lines added, 0 lines removed)

nbproject/configurations.xml (3 lines added, 0 lines removed)

Up to file-list LorenzWindow.cpp:

1
////////////////////////////////////////////////////////////////
2
1
/                                                            //

Up to file-list LorenzWindow.h:

1
////////////////////////////////////////////////////////////////
2
1
/                                                            //

Up to file-list Numerical_Integration.h:

7
7
8
8
#ifndef _NUMERICAL_INTEGRATION_H
9
9
#define	_NUMERICAL_INTEGRATION_H
10
10
#include <stdio.h>
11
11
class Numerical_Integration {
12
12
private:
13
13
    double x, y, z, h, t, tcont, sigma, p, b;

Up to file-list glutMaster.h:

1
////////////////////////////////////////////////////////////////
2
1
/                                                            //

Up to file-list main.cpp:

1
////////////////////////////////////////////////////////////////
2
1
/                                                            //

Up to file-list nbproject/Makefile-Debug.mk:

@@ -35,6 +35,7 @@ OBJECTFILES= \
35
35
	${OBJECTDIR}/glutMaster.o \
36
36
	${OBJECTDIR}/LorenzWindow.o \
37
37
	${OBJECTDIR}/Numerical_Integration.o \
38
	${OBJECTDIR}/_ext/home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.o \
38
39
	${OBJECTDIR}/main.o
39
40
40
41
# C Compiler Flags
@@ -51,7 +52,7 @@ FFLAGS=
51
52
ASFLAGS=
52
53
53
54
# Link Libraries and Options
54
LDLIBSOPTIONS=-lglut -lGL
55
LDLIBSOPTIONS=-lglut -lGL -lGLU
55
56
56
57
# Build Targets
57
58
.build-conf: ${BUILD_SUBPROJECTS}
@@ -81,6 +82,11 @@ dist/Debug/GNU-Linux-x86/lorenz_glutmast
81
82
	${RM} $@.d
82
83
	$(COMPILE.cc) -g -MMD -MP -MF $@.d -o ${OBJECTDIR}/Numerical_Integration.o Numerical_Integration.cpp
83
84
85
${OBJECTDIR}/_ext/home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.o: nbproject/Makefile-${CND_CONF}.mk /home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.cpp 
86
	${MKDIR} -p ${OBJECTDIR}/_ext/home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster
87
	${RM} $@.d
88
	$(COMPILE.cc) -g -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.o /home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.cpp
89
84
90
${OBJECTDIR}/main.o: nbproject/Makefile-${CND_CONF}.mk main.cpp 
85
91
	${MKDIR} -p ${OBJECTDIR}
86
92
	${RM} $@.d

Up to file-list nbproject/Makefile-Release.mk:

@@ -35,6 +35,7 @@ OBJECTFILES= \
35
35
	${OBJECTDIR}/glutMaster.o \
36
36
	${OBJECTDIR}/LorenzWindow.o \
37
37
	${OBJECTDIR}/Numerical_Integration.o \
38
	${OBJECTDIR}/_ext/home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.o \
38
39
	${OBJECTDIR}/main.o
39
40
40
41
# C Compiler Flags
@@ -81,6 +82,11 @@ dist/Release/GNU-Linux-x86/lorenz_glutma
81
82
	${RM} $@.d
82
83
	$(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/Numerical_Integration.o Numerical_Integration.cpp
83
84
85
${OBJECTDIR}/_ext/home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.o: nbproject/Makefile-${CND_CONF}.mk /home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.cpp 
86
	${MKDIR} -p ${OBJECTDIR}/_ext/home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster
87
	${RM} $@.d
88
	$(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.o /home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.cpp
89
84
90
${OBJECTDIR}/main.o: nbproject/Makefile-${CND_CONF}.mk main.cpp 
85
91
	${MKDIR} -p ${OBJECTDIR}
86
92
	${RM} $@.d

Up to file-list nbproject/configurations.xml:

18
18
                   projectFiles="true">
19
19
      <itemPath>LorenzWindow.cpp</itemPath>
20
20
      <itemPath>Numerical_Integration.cpp</itemPath>
21
      <itemPath>/home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.cpp</itemPath>
22
      <itemPath>/home/angelo/Science/Programing/NetBeans-C++/Lorenz_glutmaster/equations.h</itemPath>
21
23
      <itemPath>glutMaster.cpp</itemPath>
22
24
      <itemPath>glutWindow.cpp</itemPath>
23
25
      <itemPath>main.cpp</itemPath>
41
43
          <linkerLibItems>
42
44
            <linkerOptionItem>-lglut</linkerOptionItem>
43
45
            <linkerOptionItem>-lGL</linkerOptionItem>
46
            <linkerOptionItem>-lGLU</linkerOptionItem>
44
47
          </linkerLibItems>
45
48
        </linkerTool>
46
49
      </compileType>