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
eee1008d
Commit
eee1008d
authored
4 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
rm redundant deletion
parent
2cd139c4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Sample/Multilayer/ISpecularStrategy.h
+0
-1
0 additions, 1 deletion
Sample/Multilayer/ISpecularStrategy.h
auto/Wrap/libBornAgainCore_wrap.cpp
+0
-44383
0 additions, 44383 deletions
auto/Wrap/libBornAgainCore_wrap.cpp
auto/Wrap/libBornAgainCore_wrap.h
+0
-145
0 additions, 145 deletions
auto/Wrap/libBornAgainCore_wrap.h
with
0 additions
and
44529 deletions
Sample/Multilayer/ISpecularStrategy.h
+
0
−
1
View file @
eee1008d
...
@@ -35,7 +35,6 @@ public:
...
@@ -35,7 +35,6 @@ public:
ISpecularStrategy
()
=
default
;
ISpecularStrategy
()
=
default
;
virtual
~
ISpecularStrategy
()
=
default
;
virtual
~
ISpecularStrategy
()
=
default
;
ISpecularStrategy
(
const
ISpecularStrategy
&
other
)
=
delete
;
ISpecularStrategy
(
const
ISpecularStrategy
&
other
)
=
delete
;
ISpecularStrategy
&
operator
=
(
const
ISpecularStrategy
&
other
)
=
delete
;
using
coefficient_type
=
ILayerRTCoefficients
;
using
coefficient_type
=
ILayerRTCoefficients
;
using
coefficient_pointer_type
=
std
::
unique_ptr
<
const
coefficient_type
>
;
using
coefficient_pointer_type
=
std
::
unique_ptr
<
const
coefficient_type
>
;
...
...
This diff is collapsed.
Click to expand it.
auto/Wrap/libBornAgainCore_wrap.cpp
+
0
−
44383
View file @
eee1008d
This diff is collapsed.
Click to expand it.
auto/Wrap/libBornAgainCore_wrap.h
+
0
−
145
View file @
eee1008d
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIG_libBornAgainCore_WRAP_H_
#define SWIG_libBornAgainCore_WRAP_H_
#include
<map>
#include
<string>
class
SwigDirector_FitObjective
:
public
FitObjective
,
public
Swig
::
Director
{
public:
SwigDirector_FitObjective
(
PyObject
*
self
);
virtual
~
SwigDirector_FitObjective
();
virtual
double
evaluate
(
Fit
::
Parameters
const
&
params
);
virtual
std
::
vector
<
double
,
std
::
allocator
<
double
>
>
evaluate_residuals
(
Fit
::
Parameters
const
&
params
);
/* Internal director utilities */
public:
bool
swig_get_inner
(
const
char
*
swig_protected_method_name
)
const
{
std
::
map
<
std
::
string
,
bool
>::
const_iterator
iv
=
swig_inner
.
find
(
swig_protected_method_name
);
return
(
iv
!=
swig_inner
.
end
()
?
iv
->
second
:
false
);
}
void
swig_set_inner
(
const
char
*
swig_protected_method_name
,
bool
swig_val
)
const
{
swig_inner
[
swig_protected_method_name
]
=
swig_val
;
}
private
:
mutable
std
::
map
<
std
::
string
,
bool
>
swig_inner
;
#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
/* VTable implementation */
PyObject
*
swig_get_method
(
size_t
method_index
,
const
char
*
method_name
)
const
{
PyObject
*
method
=
vtable
[
method_index
];
if
(
!
method
)
{
swig
::
SwigVar_PyObject
name
=
SWIG_Python_str_FromChar
(
method_name
);
method
=
PyObject_GetAttr
(
swig_get_self
(),
name
);
if
(
!
method
)
{
std
::
string
msg
=
"Method in class FitObjective doesn't exist, undefined "
;
msg
+=
method_name
;
Swig
::
DirectorMethodException
::
raise
(
msg
.
c_str
());
}
vtable
[
method_index
]
=
method
;
}
return
method
;
}
private
:
mutable
swig
::
SwigVar_PyObject
vtable
[
2
];
#endif
};
class
SwigDirector_PyBuilderCallback
:
public
PyBuilderCallback
,
public
Swig
::
Director
{
public:
SwigDirector_PyBuilderCallback
(
PyObject
*
self
);
virtual
~
SwigDirector_PyBuilderCallback
();
virtual
Simulation
*
build_simulation
(
Fit
::
Parameters
arg0
);
/* Internal director utilities */
public:
bool
swig_get_inner
(
const
char
*
swig_protected_method_name
)
const
{
std
::
map
<
std
::
string
,
bool
>::
const_iterator
iv
=
swig_inner
.
find
(
swig_protected_method_name
);
return
(
iv
!=
swig_inner
.
end
()
?
iv
->
second
:
false
);
}
void
swig_set_inner
(
const
char
*
swig_protected_method_name
,
bool
swig_val
)
const
{
swig_inner
[
swig_protected_method_name
]
=
swig_val
;
}
private
:
mutable
std
::
map
<
std
::
string
,
bool
>
swig_inner
;
#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
/* VTable implementation */
PyObject
*
swig_get_method
(
size_t
method_index
,
const
char
*
method_name
)
const
{
PyObject
*
method
=
vtable
[
method_index
];
if
(
!
method
)
{
swig
::
SwigVar_PyObject
name
=
SWIG_Python_str_FromChar
(
method_name
);
method
=
PyObject_GetAttr
(
swig_get_self
(),
name
);
if
(
!
method
)
{
std
::
string
msg
=
"Method in class PyBuilderCallback doesn't exist, undefined "
;
msg
+=
method_name
;
Swig
::
DirectorMethodException
::
raise
(
msg
.
c_str
());
}
vtable
[
method_index
]
=
method
;
}
return
method
;
}
private
:
mutable
swig
::
SwigVar_PyObject
vtable
[
1
];
#endif
};
class
SwigDirector_PyObserverCallback
:
public
PyObserverCallback
,
public
Swig
::
Director
{
public:
SwigDirector_PyObserverCallback
(
PyObject
*
self
);
virtual
~
SwigDirector_PyObserverCallback
();
virtual
void
update
(
FitObjective
const
&
arg0
);
/* Internal director utilities */
public:
bool
swig_get_inner
(
const
char
*
swig_protected_method_name
)
const
{
std
::
map
<
std
::
string
,
bool
>::
const_iterator
iv
=
swig_inner
.
find
(
swig_protected_method_name
);
return
(
iv
!=
swig_inner
.
end
()
?
iv
->
second
:
false
);
}
void
swig_set_inner
(
const
char
*
swig_protected_method_name
,
bool
swig_val
)
const
{
swig_inner
[
swig_protected_method_name
]
=
swig_val
;
}
private
:
mutable
std
::
map
<
std
::
string
,
bool
>
swig_inner
;
#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
/* VTable implementation */
PyObject
*
swig_get_method
(
size_t
method_index
,
const
char
*
method_name
)
const
{
PyObject
*
method
=
vtable
[
method_index
];
if
(
!
method
)
{
swig
::
SwigVar_PyObject
name
=
SWIG_Python_str_FromChar
(
method_name
);
method
=
PyObject_GetAttr
(
swig_get_self
(),
name
);
if
(
!
method
)
{
std
::
string
msg
=
"Method in class PyObserverCallback doesn't exist, undefined "
;
msg
+=
method_name
;
Swig
::
DirectorMethodException
::
raise
(
msg
.
c_str
());
}
vtable
[
method_index
]
=
method
;
}
return
method
;
}
private
:
mutable
swig
::
SwigVar_PyObject
vtable
[
1
];
#endif
};
#endif
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