Skip to content
Snippets Groups Projects
Commit b95d973f authored by Bas van der Tol's avatar Bas van der Tol
Browse files

Formatted with clang-format

parent a8abe1e4
No related branches found
No related tags found
1 merge request!28Resolve "Make path to oskar coefficient file runtime configurable"
Pipeline #2316 passed
...@@ -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));
} }
......
...@@ -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
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment