Changes
Page history
version 4.1 update
authored
Mar 21, 2022
by
Udo Ziegler
Hide whitespace changes
Inline
Side-by-side
3-NIRVANA-user-guide/3.2-User-interfaces.md
View page @
db476f8d
...
...
@@ -845,7 +845,7 @@ considered primary.
*
Note: In case magnetic field splitting is enabled
(cf.
[
Functionality overview
](
3.1-Code-basics#functionality-overview
)
)
the variable
**B**
represents the residual magnetic field which
the variable
*
**B**
*
represents the residual magnetic field which
must be initialized instead of the total field. Likewise,
*e*
represents
the residual total energy density.
*
...
...
@@ -1847,15 +1847,15 @@ An example can be found in the testproblem
## User-defined background magnetic field
The module
`sourceB0User.c`
serves as template
for coding a background magnetic field,
**B**
<su
p
>
0
</sub>
, in the context
for coding a background magnetic field,
**B**
<su
b
>
0
</sub>
, in the context
of the magnetic field splitting formalism.
**B**
<su
p
>
0
</su
p
>
must be a time-independent, divergence-free potential field, i.e.,
**B**
<su
b
>
0
</su
b
>
must be a time-independent, divergence-free potential field, i.e.,
$
\p
artial
_t$
**B**
<su
p
>
0
</sub>
=0,
$
\p
artial
$
<sub>
t
</sub>
**B**
<su
b
>
0
</sub>
=0,
∇⋅
**B**
<su
p
>
0
</su
p
>
=0
∇⋅
**B**
<su
b
>
0
</su
b
>
=0
∇×
**B**
<su
p
>
0
</su
p
>
=0.
∇×
**B**
<su
b
>
0
</su
b
>
=0.
In the call of
`sourceB0User()`
the function arguments are the pointer to the array
`B0`
of magnetic field
...
...
...
...