Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
partons
core
partons-example
Commits
5c6d0401
Commit
5c6d0401
authored
Sep 22, 2017
by
Nabil Chouika
Browse files
Merge branch 'master' of
ssh://git@drf-gitlab.cea.fr/partons/core/partons-example.git
parents
9ba389c0
1becdc96
Changes
3
Hide whitespace changes
Inline
Side-by-side
.project
View file @
5c6d0401
...
...
@@ -5,16 +5,6 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
org.eclipse.ui.externaltools.ExternalToolBuilder
</name>
<triggers>
full,incremental,
</triggers>
<arguments>
<dictionary>
<key>
LaunchConfigHandle
</key>
<value>
<
project
>
/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (8).launch
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
</name>
<triggers>
full,incremental,
</triggers>
...
...
bin/partons.properties
View file @
5c6d0401
...
...
@@ -10,9 +10,6 @@ log.file.path = bin/logger.properties
# Path to the environment configuration information
environment.configuration.file.path
=
bin/environment_configuration.dat
# Path to the directory containing scenarios
scenario.directory
=
data/examples/
# Path to the directory containing PDF replicas
grid.directory
=
../partons/data/grid/
...
...
@@ -30,7 +27,8 @@ database.production.passwd = partons
# Whether to use temporary file transaction to load data
database.load.infile.use
=
false
# Temporary working directory needed by the transaction mechanism (needed if previous is true)
# Temporary working directory needed by the transaction mechanism (if database.load.infile.use is true)
database.load.infile.directory
=
bin/tmp
# THREAD #
...
...
src/examples.cpp
View file @
5c6d0401
...
...
@@ -37,7 +37,7 @@ void computeSingleKinematicsForGPD() {
PARTONS
::
Partons
::
getInstance
()
->
getModuleObjectFactory
()
->
newGPDModule
(
PARTONS
::
GPDMMS13
::
classId
);
// Create a GPDKinematic(x, xi, t, MuF, MuR) to compute
// Create a GPDKinematic(x, xi, t, MuF
2
, MuR
2
) to compute
PARTONS
::
GPDKinematic
gpdKinematic
(
0.1
,
0.2
,
-
0.1
,
2.
,
2.
);
// Run computation
...
...
@@ -402,7 +402,7 @@ void changeIntegrationRoutine() {
PARTONS
::
MathIntegratorModule
::
PARAM_NAME_INTEGRATOR_TYPE
,
NumA
::
IntegratorType1D
::
GK21_ADAPTIVE
));
// Create a GPDKinematic(x, xi, t, MuF, MuR) to compute
// Create a GPDKinematic(x, xi, t, MuF
2
, MuR
2
) to compute
PARTONS
::
GPDKinematic
gpdKinematic
(
0.1
,
0.2
,
-
0.1
,
2.
,
2.
);
// Run computation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment