Skip to content

Commit 4a2758a

Browse files
authored
Merge pull request #65 from fangohr/fix-anv-spintevolve-3d
2 parents b24e72d + 379d727 commit 4a2758a

File tree

4 files changed

+25
-10
lines changed

4 files changed

+25
-10
lines changed
Binary file not shown.
Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,33 @@
11
== git-repo-url: https://github.com/oommf-extensions/anv-spintevolve-3d.git
22
== repo-name: anv-spintevolve-3d
33
== snap-shot-of-repo: provenance-anv-spintevolve-3d-HEAD.zip
4-
== cloned-on-date: Thu Feb 29 14:10:24 2024
4+
== cloned-on-date: Wed Aug 7 17:20:03 2024
55
== copied-files-from-path-in-repo: src/
66
last commit:
7-
commit b51ac083778f3699e17042ca07e13238d4876ad2
8-
Author: Martin Lang <[email protected]>
9-
Date: Fri Oct 13 10:00:54 2023 +0200
7+
commit 27ff14d7842469aa3cf95031813df967c86ce9b1
8+
Merge: b51ac08 691cd9b
9+
Author: Martin Lang <[email protected]>
10+
Date: Wed Aug 7 17:15:43 2024 +0200
1011

11-
Compatibility with old and new OOMMF releases
12+
Merge pull request #2 from oommf-extensions/fix-oommf21a0
13+
14+
Fix extension to make it work with OOMMF 2.1a0
15+
16+
commit 691cd9b937670058c5bafb126f6d92a950332472
17+
Author: Martin Lang <[email protected]>
18+
Date: Wed Aug 7 17:13:20 2024 +0200
19+
20+
Update README
21+
22+
commit d0e2c4e00c416e3e35ee0cf437cda7cf750ae5e8
23+
Author: Martin Lang <[email protected]>
24+
Date: Wed Aug 7 17:08:18 2024 +0200
25+
26+
Fix extension to make it work with OOMMF 2.1a0
1227

1328
== src file-list:
1429
total 92
15-
-rw-r--r-- 1 pathaks cfel 80715 Feb 29 14:10 spintevolve_3d.cc
16-
-rw-r--r-- 1 pathaks cfel 11495 Feb 29 14:10 spintevolve_3d.h
30+
-rw-r--r-- 1 mlang cfel 80719 Aug 7 17:20 spintevolve_3d.cc
31+
-rw-r--r-- 1 mlang cfel 11489 Aug 7 17:20 spintevolve_3d.h
1732

1833
== see contents of provenance-anv-spintevolve-3d-HEAD.zip for additional info, examples, etc.

oommf/app/oxs/local/anv-spintevolve-3d/spintevolve_3d.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ void Anv_SpinTEvolve_3d::NegotiateTimeStep
804804
if(stepsize<timestep_lower_bound) stepsize = timestep_lower_bound;
805805

806806
// Negotiate with driver over size of next step
807-
driver->FillState(cstate,nstate);
807+
driver->FillStateMemberData(cstate,nstate);
808808
UpdateTimeFields(cstate,nstate,stepsize);
809809

810810
// Update iteration count
@@ -1823,7 +1823,7 @@ void Anv_SpinTEvolve_3d::AdjustStepHeadroom(OC_INT4m step_reject)
18231823
OC_BOOL
18241824
Anv_SpinTEvolve_3d::Step(const Oxs_TimeDriver* driver,
18251825
Oxs_ConstKey<Oxs_SimState> current_state_key,
1826-
const Oxs_DriverStepInfo& step_info,
1826+
Oxs_DriverStepInfo& step_info,
18271827
Oxs_Key<Oxs_SimState>& next_state_key)
18281828
{
18291829
const OC_REAL8m bad_energy_cut_ratio = 0.75;

oommf/app/oxs/local/anv-spintevolve-3d/spintevolve_3d.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ class Anv_SpinTEvolve_3d:public Oxs_TimeEvolver {
276276
virtual OC_BOOL
277277
Step(const Oxs_TimeDriver* driver,
278278
Oxs_ConstKey<Oxs_SimState> current_state,
279-
const Oxs_DriverStepInfo& step_info,
279+
Oxs_DriverStepInfo& step_info,
280280
Oxs_Key<Oxs_SimState>& next_state);
281281
// Returns true if step was successful, false if
282282
// unable to step as requested.

0 commit comments

Comments
 (0)