Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TetraX
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Micromagnetic modeling
TetraX
Commits
defb9e5e
Commit
defb9e5e
authored
2 years ago
by
Kakay, Dr. Attila (FWIN) - 9524
Browse files
Options
Downloads
Patches
Plain Diff
Hotfix: Will correct rotation matrix for mz=-1.
parent
ff18a744
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!39
Merge hotfix (1.3.1) downstream
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tetrax/core/fem_core/rotation_mat.c
+1
-1
1 addition, 1 deletion
tetrax/core/fem_core/rotation_mat.c
with
1 addition
and
1 deletion
tetrax/core/fem_core/rotation_mat.c
+
1
−
1
View file @
defb9e5e
...
...
@@ -124,7 +124,7 @@ double rotation_matrix_component_nonorm(double m[3], int idx_m, int idx_n) {
// so the rotation matrix becomes the identity operator
if
(
abs_sq
==
0
)
{
// printf("Warning: magnetization in ez-direction\n");
return
idx_m
==
idx_n
?
1
:
0
;
return
idx_m
==
idx_n
?
m
[
2
]
:
0
;
}
switch
(
idx_m
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment