コード例 #1
0
ファイル: structure.go プロジェクト: ndaniels/esfragbag
// rmsdMemory creates reusable memory for use with RMSD calculation with
// suitable size for this fragment library. Only one goroutine can use the
// memory at a time.
func (lib *structureAtoms) rmsdMemory() structure.Memory {
	return structure.NewMemory(lib.FragSize)
}
コード例 #2
0
ファイル: structure.go プロジェクト: BurntSushi/bcbgo
// rmsdMemory creates reusable memory for use with RMSD calculation with
// suitable size for this fragment library. Only one goroutine can use the
// memory at a time.
func (lib *StructureLibrary) rmsdMemory() structure.Memory {
	return structure.NewMemory(lib.FragmentSize)
}