示例#1
0
文件: exchange.go 项目: jsampaio/3
// 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())
}
示例#2
0
文件: exchange.go 项目: jsampaio/3
// 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())
}