Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
EveryBeam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Frits Sweijen
EveryBeam
Commits
b95d973f
Commit
b95d973f
authored
5 years ago
by
Bas van der Tol
Browse files
Options
Downloads
Patches
Plain Diff
Formatted with clang-format
parent
a8abe1e4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
cpp/oskar/OSKARElementResponse.cc
+3
-3
3 additions, 3 deletions
cpp/oskar/OSKARElementResponse.cc
cpp/oskar/OSKARElementResponse.h
+1
-2
1 addition, 2 deletions
cpp/oskar/OSKARElementResponse.h
with
4 additions
and
5 deletions
cpp/oskar/OSKARElementResponse.cc
+
3
−
3
View file @
b95d973f
...
@@ -19,13 +19,13 @@ void OSKARElementResponseDipole::response(
...
@@ -19,13 +19,13 @@ void OSKARElementResponseDipole::response(
response_ptr
+
2
);
response_ptr
+
2
);
}
}
OSKARElementResponseSphericalWave
::
OSKARElementResponseSphericalWave
()
OSKARElementResponseSphericalWave
::
OSKARElementResponseSphericalWave
()
{
{
std
::
string
path
=
get_path
(
"oskar.h5"
);
std
::
string
path
=
get_path
(
"oskar.h5"
);
m_datafile
.
reset
(
new
Datafile
(
path
));
m_datafile
.
reset
(
new
Datafile
(
path
));
}
}
OSKARElementResponseSphericalWave
::
OSKARElementResponseSphericalWave
(
const
std
::
string
&
path
)
{
OSKARElementResponseSphericalWave
::
OSKARElementResponseSphericalWave
(
const
std
::
string
&
path
)
{
m_datafile
.
reset
(
new
Datafile
(
path
));
m_datafile
.
reset
(
new
Datafile
(
path
));
}
}
...
...
This diff is collapsed.
Click to expand it.
cpp/oskar/OSKARElementResponse.h
+
1
−
2
View file @
b95d973f
...
@@ -25,7 +25,6 @@ class OSKARElementResponseDipole : public ElementResponse {
...
@@ -25,7 +25,6 @@ class OSKARElementResponseDipole : public ElementResponse {
//! Implementation of the OSKAR spherical wave response model
//! Implementation of the OSKAR spherical wave response model
class
OSKARElementResponseSphericalWave
:
public
ElementResponse
{
class
OSKARElementResponseSphericalWave
:
public
ElementResponse
{
public:
public:
/**
/**
* A constructor-like static method to instantiate the class
* A constructor-like static method to instantiate the class
*
*
...
...
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