Skip to content

Commit f8b6107

Browse files
committed
Move common and atomistic to native directory
1 parent 7e42a94 commit f8b6107

30 files changed

+30
-2674
lines changed
File renamed without changes.

fidimag/atomistic/lib/fmmlib/fmmlib.cpp

Lines changed: 0 additions & 2635 deletions
This file was deleted.

fidimag/atomistic/lib/clib.h renamed to native/include/a_clib.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
#ifndef __CLIB__
2-
#define __CLIB__
1+
#pragma once
32

43
#include <complex.h>
54
#include <fftw3.h>
65
#include <math.h>
7-
//#include<omp.h>
6+
#include<omp.h>
87

9-
#include "fidimag_random.h"
8+
#include "a_random.h"
109

1110
#define WIDE_PI 3.1415926535897932384626433832795L
1211

@@ -118,5 +117,3 @@ void run_step_mc(mt19937_state *state, double *spin, double *new_spin,
118117
int *ngbs, int *nngbs, int n_ngbs, double J, double J1, double D,
119118
double D1, double *h, double Kc, int n, double T,
120119
int hexagonal_mesh);
121-
122-
#endif
File renamed without changes.

fidimag/common/lib/common_clib.h renamed to native/include/c_clib.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
#ifndef __CLIB__
2-
#define __CLIB__
1+
#pragma once
32

43
#include <math.h>
5-
//#include<omp.h>
4+
#include<omp.h>
65
#define WIDE_PI 3.1415926535897932384626433832795L
76

87
// ----------------------------------------------------------------------------
@@ -74,6 +73,3 @@ void sd_update_spin (double *spin, double *spin_last, double *magnetisation,
7473
void sd_compute_step (double *spin, double *spin_last, double *magnetisation, double *field,
7574
double *mxH, double *mxmxH, double *mxmxH_last, double tau,
7675
int *pins, int n, int counter, double tmin, double tmax);
77-
78-
79-
#endif
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)