Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make fidimag great again #138

Open
wants to merge 50 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
f27295d
Port Fidimag to C++
rpep May 9, 2019
53722a8
Switch to C++ complex proper
rpep May 9, 2019
a3e0f6e
Remove accidentally committed cython generated sources
rpep May 9, 2019
1437040
Fix various tiny bugs which caused warnings in Pytest
rpep May 9, 2019
ef1a64d
Simplify setup.py by removing regex search for version, moving out so…
rpep May 9, 2019
ca06d0f
Fix bug in tools.py with module_name not defined
rpep May 9, 2019
7e42a94
Move micro C++ files to native directory and resolve duplicate functi…
rpep May 9, 2019
f8b6107
Move common and atomistic to native directory
rpep May 9, 2019
22ceb97
Refactor all Python code so that tests pass with new extensions location
rpep May 10, 2019
5f698a4
Fix linker bug on MacOS
rpep May 10, 2019
d9b1045
Set Makefile to appropriate defaults for Linux
rpep May 10, 2019
f25964a
Pass through directly the CPPFLAGS argument to setup.py
rpep May 10, 2019
8307070
Tweak some of the setup
rpep May 10, 2019
ed68830
Consolidate vector mathematics into a single C++ file native/c_vector…
rpep May 10, 2019
16534ec
Add c_vectormath.h
rpep May 10, 2019
a263c83
Switch to using pragma once for header files, and replace multiple de…
rpep May 10, 2019
27e4891
Add C++ Energy class
rpep May 10, 2019
53db2c5
Updated Ubuntu version in Docker
May 10, 2019
e273782
Add constants file to avoid issues on macOS with M_PIl not being defined
rpep May 11, 2019
a1256a6
Add initial Energy class implementation
rpep May 13, 2019
3f1d3a8
Removed empty file
davidcortesortuno May 17, 2019
09ad07e
Implementing a Cython wrapper for the C++ energy class, only Exchange…
davidcortesortuno May 17, 2019
0a431b6
Added test for new energy class wrapper
davidcortesortuno Jun 6, 2019
d4132dc
Fixed cython interface to c++ energy classes
davidcortesortuno Jun 7, 2019
fa53fec
Fixed bug in exchange class; problem was in the argument order in the…
davidcortesortuno Jun 7, 2019
5677941
Updated exchange class and started sim c++ class
davidcortesortuno Jun 10, 2019
46b765d
Added micro sim cpp file
davidcortesortuno Jun 10, 2019
e8b15b0
Added method to add interactions to sim C class using cython wrappers…
davidcortesortuno Jun 11, 2019
2f19fcf
Made energy class setup to depend on the micro sim class. Updated tes…
davidcortesortuno Jun 12, 2019
5268274
Added new micromagnetic Anisotropy and DMI energy classes
davidcortesortuno Jun 12, 2019
aa2aa4b
Implemented compute eff field in sim class. Simplified interactions a…
davidcortesortuno Jun 12, 2019
c7e7728
Added new driver
davidcortesortuno Jun 14, 2019
eaccbf5
Starting implementation of micro driver
davidcortesortuno Jul 29, 2019
ec0e239
Setting micro driver class and sketching integrators
davidcortesortuno May 19, 2021
ac5b65f
Implementing RK4 integrator
davidcortesortuno May 20, 2021
8268499
Removing RHS fun dependence on iterators to make it easy for Cython
davidcortesortuno May 21, 2021
1ff7c48
Driver problem: pass RHS fun to integrator
davidcortesortuno May 21, 2021
a8229fc
Setting wrappers for C++ driver classes
davidcortesortuno May 21, 2021
38dfa1e
Added static func to set up RHS func for the integrator
davidcortesortuno May 25, 2021
4d8cd3c
Using static variables to call integrator function
davidcortesortuno May 25, 2021
e936b4c
Refactored integrator with void pointers a-la-C, to allow any number …
davidcortesortuno May 26, 2021
e4c87f7
Templated integrator, now accepting extra parameters in a safer way. …
davidcortesortuno May 27, 2021
e90fd89
Implemented micro driver in Cython wrapper
davidcortesortuno May 27, 2021
e50c6aa
Testing setting the integrator
davidcortesortuno May 27, 2021
b46de63
remove blat out of .cpp files; not reliable if add cpp sources
rpep May 31, 2021
7897a07
remove setting CC and CXX from Makefile; should always get from envir…
rpep May 31, 2021
484a7bd
Made dmdt vector in integrator
davidcortesortuno Jun 1, 2021
9e29f7d
Refining integrator, made dmdt vector; removing old variables and com…
davidcortesortuno Jun 1, 2021
2a5b4d4
Started adding tests to integrators
davidcortesortuno Jan 26, 2022
88e831b
Fixed test of integrator. Added cython wrapper
davidcortesortuno Jan 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added new driver
  • Loading branch information
davidcortesortuno committed Jun 14, 2019
commit c7e7728ffa70b4fc2846a39f79b9767c37c99f1f
12 changes: 12 additions & 0 deletions native/include/m_driver.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#pragma once
#include<iostream>
#include "c_micro_sim.h"

// Base class for the drivers
class Driver {
public:
Driver() {};
virtual ~Driver() {std::cout << "Killing base Driver\n";};
// Will get the parameters from a simulation class
void _setup(MicroSim * sim);
};