Exemplo n.º 1
0
// Set dst to the average dmi coupling per cell (average of din2 with all neighbors).
func dindDecode(dst *data.Slice) {
	cuda.ExchangeDecode(dst, din2.Gpu(), regions.Gpu(), M.Mesh())
}
Exemplo n.º 2
0
// Set dst to the average exchange coupling per cell (average of lex2 with all neighbors).
func exchangeDecode(dst *data.Slice) {
	cuda.ExchangeDecode(dst, lex2.Gpu(), regions.Gpu(), M.Mesh())
}