Struct scotch::architecture::Architecture
source · pub struct Architecture { /* private fields */ }
Expand description
Equivalent of SCOTCH_Arch
.
Implementations§
source§impl Architecture
impl Architecture
sourcepub fn from_stdin() -> Result<Architecture>
pub fn from_stdin() -> Result<Architecture>
Build an Architecture
from the data found in standard input.
This function closes standard input.
Convenience wrapper around SCOTCH_archLoad
.
sourcepub fn from_file(path: impl AsRef<Path>) -> Result<Architecture>
pub fn from_file(path: impl AsRef<Path>) -> Result<Architecture>
Build an Architecture
from the data found in the given file.
Convenience wrapper around SCOTCH_archLoad
.
sourcepub fn complete(partnbr: Num) -> Architecture
pub fn complete(partnbr: Num) -> Architecture
Equivalent of SCOTCH_archCmplt
.