Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
091b3230
Commit
091b3230
authored
12 years ago
by
pospelov
Browse files
Options
Downloads
Patches
Plain Diff
JCNS compiler is sensitive to wrong inline
parent
35237363
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Core/Samples/inc/LayerInterface.h
+7
-7
7 additions, 7 deletions
Core/Samples/inc/LayerInterface.h
shared.pri
+3
-2
3 additions, 2 deletions
shared.pri
with
10 additions
and
9 deletions
Core/Samples/inc/LayerInterface.h
+
7
−
7
View file @
091b3230
...
@@ -38,29 +38,29 @@ class LayerInterface : public ICompositeSample
...
@@ -38,29 +38,29 @@ class LayerInterface : public ICompositeSample
const
LayerRoughness
&
roughness
);
const
LayerRoughness
&
roughness
);
//! Sets link to the layer above the interface.
//! Sets link to the layer above the interface.
inline
void
setLayerTop
(
const
Layer
*
p_layer_top
)
void
setLayerTop
(
const
Layer
*
p_layer_top
)
{
m_LayerTop
=
p_layer_top
;
}
{
m_LayerTop
=
p_layer_top
;
}
//! Sets link to the layer below the interface.
//! Sets link to the layer below the interface.
inline
void
setLayerBottom
(
const
Layer
*
p_layer_bottom
)
void
setLayerBottom
(
const
Layer
*
p_layer_bottom
)
{
m_LayerBottom
=
p_layer_bottom
;
}
{
m_LayerBottom
=
p_layer_bottom
;
}
//! Sets links to the layers above and below the interface.
//! Sets links to the layers above and below the interface.
inline
void
setLayersTopBottom
(
void
setLayersTopBottom
(
const
Layer
*
p_layer_top
,
const
Layer
*
p_layer_bottom
)
const
Layer
*
p_layer_top
,
const
Layer
*
p_layer_bottom
)
{
setLayerTop
(
p_layer_top
);
setLayerBottom
(
p_layer_bottom
);
}
{
setLayerTop
(
p_layer_top
);
setLayerBottom
(
p_layer_bottom
);
}
//! Sets roughness of the interface.
//! Sets roughness of the interface.
inline
void
setRoughness
(
const
LayerRoughness
&
roughness
);
void
setRoughness
(
const
LayerRoughness
&
roughness
);
//! Returns roughness of the interface.
//! Returns roughness of the interface.
inline
const
LayerRoughness
*
getRoughness
()
const
{
return
m_roughness
;
}
const
LayerRoughness
*
getRoughness
()
const
{
return
m_roughness
;
}
//! Returns top layer.
//! Returns top layer.
inline
const
Layer
*
getLayerTop
()
const
{
return
m_LayerTop
;
}
const
Layer
*
getLayerTop
()
const
{
return
m_LayerTop
;
}
//! Returns bottom layer.
//! Returns bottom layer.
inline
const
Layer
*
getLayerBottom
()
const
{
return
m_LayerBottom
;
}
const
Layer
*
getLayerBottom
()
const
{
return
m_LayerBottom
;
}
protected
:
protected
:
void
print
(
std
::
ostream
&
ostr
)
const
;
void
print
(
std
::
ostream
&
ostr
)
const
;
...
...
This diff is collapsed.
Click to expand it.
shared.pri
+
3
−
2
View file @
091b3230
...
@@ -82,10 +82,11 @@ isEqual(env_jcns_variable, "yes") {
...
@@ -82,10 +82,11 @@ isEqual(env_jcns_variable, "yes") {
CONFIG(BORNAGAIN_JCNS) {
CONFIG(BORNAGAIN_JCNS) {
message("Special config for JCNS")
message("Special config for JCNS")
INCLUDEPATH += /usr/users/jcns/pospelov/software/include
INCLUDEPATH += /usr/users/jcns/pospelov/software/include
LIBS += -L/usr/users/jcns/pospelov/software/lib -L/usr/local/lib -L/usr/lib64 \
OLD_LIBS = $$LIBS
LIBS = -L/usr/users/jcns/pospelov/software/lib -L/usr/local/lib -L/usr/lib64 \
-lgsl -lgslcblas -lfftw3 -lboost_program_options -lboost_iostreams \
-lgsl -lgslcblas -lfftw3 -lboost_program_options -lboost_iostreams \
-lboost_system -lboost_signals -lboost_filesystem -lboost_regex \
-lboost_system -lboost_signals -lboost_filesystem -lboost_regex \
-lboost_thread
-lboost_thread
$$OLD_LIBS
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment