mirror of
https://github.com/arcan1s/moldyn.git
synced 2025-06-28 06:41:42 +00:00
Added link to qwt
Fixed bug in start_events
This commit is contained in:
1
mathmech/resources/translations/eng.qm
Normal file
1
mathmech/resources/translations/eng.qm
Normal file
@ -0,0 +1 @@
|
||||
<<3C>d<18><EFBFBD>!<1C>`<60><><EFBFBD>
|
BIN
mathmech/resources/translations/rus.qm
Normal file
BIN
mathmech/resources/translations/rus.qm
Normal file
Binary file not shown.
@ -11,9 +11,9 @@ file (GLOB HEADERS *.h)
|
||||
file (GLOB FORMS *.ui)
|
||||
# set library
|
||||
if (CMAKE_COMPILER_IS_GNUCXX)
|
||||
set (LIBRARIES m)
|
||||
set (LIBRARIES m qwt)
|
||||
else ()
|
||||
set (LIBRARIES)
|
||||
set (LIBRARIES qwt)
|
||||
endif()
|
||||
set (LANGUAGES
|
||||
eng
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 2.8.0, 2013-08-23T22:01:33. -->
|
||||
<!-- Written by QtCreator 2.8.0, 2013-08-24T21:49:26. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||
@ -226,15 +226,15 @@
|
||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">mathmech</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/arcanis/Documents/github/moldyn/mathmech/mathmech.pro</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/arcanis/Documents/github/moldyn/mathmech/src/mathmech.pro</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">mathmech.pro</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
|
||||
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||
|
@ -242,8 +242,8 @@ bool Start_events::start_statgen_analysis(QString mm_statgen_path,
|
||||
QStringList inter_list = inter.split(QString(" -r "), QString::SkipEmptyParts);
|
||||
float *inter_list_one;
|
||||
inter_list_one = new float[16*inter_list.count()];
|
||||
for (i=0; i<16*inter_list.count(); i++)
|
||||
inter_list_one = -1.0;
|
||||
for (int i=0; i<16*inter_list.count(); i++)
|
||||
inter_list_one[i] = -1.0;
|
||||
float item;
|
||||
int index;
|
||||
for (int i=0; i<inter_list.count(); i++)
|
||||
@ -260,8 +260,8 @@ bool Start_events::start_statgen_analysis(QString mm_statgen_path,
|
||||
inter_list_one[16*i+index] = item;
|
||||
}
|
||||
for (int i=0; i<16*inter_list.count(); i++)
|
||||
if (inter_list_one > 0.0)
|
||||
while (imax*int_step > inter_list_one)
|
||||
if (inter_list_one[i] > 0.0)
|
||||
while (imax*int_step > inter_list_one[i])
|
||||
imax--;
|
||||
|
||||
// exec
|
||||
|
Reference in New Issue
Block a user