Skip to content
Snippets Groups Projects
Commit 31346b18 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rename Base/Type/Vector -> Base/Type/Field2D

parent 892d85a0
No related branches found
No related tags found
1 merge request!2701everywhere using double2d_t for vector<vector<double>; move fcts to FieldUtil; simplify & unify initialization
......@@ -18,7 +18,7 @@
#ifndef BORNAGAIN_BASE_MATH_FOURIERTRANSFORM_H
#define BORNAGAIN_BASE_MATH_FOURIERTRANSFORM_H
#include "Base/Type/Vector.h"
#include "Base/Type/Field2D.h"
#include <fftw3.h>
//! Fourier transform of vectors (in 1D or 2D) using Fast Fourier Transform (fftw package).
......
......@@ -2,8 +2,8 @@
//
// BornAgain: simulate and fit reflection and scattering
//
//! @file Base/Type/Vector.h
//! @brief Defines vector types.
//! @file Base/Type/Field2D.h
//! @brief Defines two-dimensional data arrays.
//!
//! @homepage http://www.bornagainproject.org
//! @license GNU General Public License v3 or higher (see COPYING)
......@@ -12,8 +12,8 @@
//
// ************************************************************************************************
#ifndef BORNAGAIN_BASE_TYPE_VECTOR_H
#define BORNAGAIN_BASE_TYPE_VECTOR_H
#ifndef BORNAGAIN_BASE_TYPE_FIELD2D_H
#define BORNAGAIN_BASE_TYPE_FIELD2D_H
#include <heinz/Complex.h>
#include <vector>
......@@ -21,4 +21,4 @@
using double2d_t = std::vector<std::vector<double>>;
using complex2d_t = std::vector<std::vector<complex_t>>;
#endif // BORNAGAIN_BASE_TYPE_VECTOR_H
#endif // BORNAGAIN_BASE_TYPE_FIELD2D_H
......@@ -18,7 +18,7 @@
#ifndef BORNAGAIN_DEVICE_RESOLUTION_CONVOLVE_H
#define BORNAGAIN_DEVICE_RESOLUTION_CONVOLVE_H
#include "Base/Type/Vector.h"
#include "Base/Type/Field2D.h"
#include <fftw3.h>
//! Convolution of two real vectors (in 1D or 2D) using Fast Fourier Transform.
......
......@@ -15,7 +15,7 @@
#ifndef BORNAGAIN_IMG3D_MODEL_GEOMETRY_H
#define BORNAGAIN_IMG3D_MODEL_GEOMETRY_H
#include "Base/Type/Vector.h"
#include "Base/Type/Field2D.h"
#include "Img3D/Model/Geometry_inc.h"
#include <QVector>
......
......@@ -15,7 +15,7 @@
#ifndef BORNAGAIN_IMG3D_MODEL_PLOTTABLEBODY_H
#define BORNAGAIN_IMG3D_MODEL_PLOTTABLEBODY_H
#include "Base/Type/Vector.h"
#include "Base/Type/Field2D.h"
#include "Img3D/Model/Geometry_inc.h"
#include "Img3D/Type/FloatVector3D.h"
#include <QColor>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment