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
925f0223
Commit
925f0223
authored
8 months ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
formfactor, particle -> PolyPtr
parent
47ead068
No related branches found
No related tags found
1 merge request
!2696
PolyItem -> PolyPtr, with BaseItem as separate template parameter
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GUI/Model/Sample/MesocrystalItem.h
+4
-4
4 additions, 4 deletions
GUI/Model/Sample/MesocrystalItem.h
with
4 additions
and
4 deletions
GUI/Model/Sample/MesocrystalItem.h
+
4
−
4
View file @
925f0223
...
...
@@ -15,7 +15,7 @@
#ifndef BORNAGAIN_GUI_MODEL_SAMPLE_MESOCRYSTALITEM_H
#define BORNAGAIN_GUI_MODEL_SAMPLE_MESOCRYSTALITEM_H
#include
"GUI/Model/Descriptor/Poly
Item
.h"
#include
"GUI/Model/Descriptor/Poly
Ptr
.h"
#include
"GUI/Model/Descriptor/VectorProperty.h"
#include
"GUI/Model/Sample/FormfactorCatalog.h"
#include
"GUI/Model/Sample/FormfactorItems.h"
...
...
@@ -44,7 +44,7 @@ public:
std
::
unique_ptr
<
IFormfactor
>
getOuterShape
()
const
;
template
<
typename
T
>
T
*
setOuterShapeType
();
PolyItem
<
FormfactorCatalog
>&
outerShapeSelection
()
{
return
m_outer_shape
;
}
Poly
Ptr
<
Formfactor
Item
,
FormfactorCatalog
>&
outerShapeSelection
()
{
return
m_outer_shape
;
}
void
setOuterShape
(
FormfactorItem
*
p
)
{
m_outer_shape
.
setCertainItem
(
p
);
}
ItemWithParticles
*
basisItem
()
const
{
return
m_basis_particle
.
certainItem
();
}
...
...
@@ -70,8 +70,8 @@ private:
VectorProperty
m_vectorA
;
VectorProperty
m_vectorB
;
VectorProperty
m_vectorC
;
PolyItem
<
FormfactorCatalog
>
m_outer_shape
;
Poly
Item
<
ParticleCatalog
>
m_basis_particle
;
Poly
Ptr
<
Formfactor
Item
,
FormfactorCatalog
>
m_outer_shape
;
Poly
Ptr
<
ItemWithParticles
,
ParticleCatalog
>
m_basis_particle
;
const
MaterialsSet
*
m_materials
;
};
...
...
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