arne

package
v0.0.0-...-d0c3c69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2013 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package with personal add-ons by Arne. No guarantees about fitness for any purpose :-)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompensateSurfaceCharges

func CompensateSurfaceCharges(m *nimble.Mesh) [3][][][]float32

For a nanowire magnetized like this:

-> <-

calculate, very approximately, a B field needed to compensate for the surface charges on the left and right edges. Adding (this field * Bsat) to B_effective will mimic an infinitely long wire.

func Hfield

func Hfield(charge float64, source, dest [3]float64) [3]float64

H field of charge at location source, evaluated in location dest.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL