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
6d874fa1
Commit
6d874fa1
authored
3 years ago
by
Koerber, Lukas (FWIN-C) - 108045
Browse files
Options
Downloads
Patches
Plain Diff
Formatting.
parent
80653fc6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
Introduce new AbstractSample (and subclasses) architecture, FM and AFM mixins,...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tetrax/experiments/calculate_absorption.py
+2
-0
2 additions, 0 deletions
src/tetrax/experiments/calculate_absorption.py
with
2 additions
and
0 deletions
src/tetrax/experiments/calculate_absorption.py
+
2
−
0
View file @
6d874fa1
...
...
@@ -7,6 +7,8 @@ from ..core.operators import cross_operator
from
..helpers.math
import
flattened_mesh_vec_scalar_product2d
,
flattened_mesh_vec_scalar_product
from
..helpers.io
import
read_mode_from_vtk
def
calculate_absorption
(
sample
,
exp_name
,
dispersion
,
antenna
,
fmin
,
fmax
,
Nf
,
k_calc
):
mag
=
sample
.
mag
.
T
.
flatten
()
rotation
=
rotation_matrix_py
(
mag
)
...
...
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