Skip to content

Commit 9f842fb

Browse files
authored
Add units for Exchange
1 parent f5713e8 commit 9f842fb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

fidimag/micro/exchange.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@
66
class UniformExchange(Energy):
77

88
"""
9+
UniformExchange(A, name='UniformExchange')
10+
911
Compute the exchange field in micromagnetics.
12+
13+
Inputs:
14+
A: float
15+
A is the exchange stiffness constant measured in
16+
Joules / Meter (J / M)
17+
1018
"""
1119

1220
def __init__(self, A, name='UniformExchange'):

0 commit comments

Comments
 (0)