Difference between revisions of "Dfpt.m"
(Created page with "Graph partitioning module. Analyzes the system connectivity graph and creates a list of all connected subgraphs of up to the user-specified size by crawling the graph in all a...") |
(Update function See also links and function index membership) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | Graph partitioning module. Analyzes the system connectivity graph and | + | {{DISPLAYTITLE:dfpt.m}} __NOTOC__ |
| − | creates a list of all connected subgraphs of up to the user-specified | + | Graph partitioning module. Analyzes the system connectivity graph and creates a list of all connected subgraphs of up to the user-specified size by crawling the graph in all available directions. |
| − | size by crawling the graph in all available directions. | ||
| − | + | ==Syntax== | |
| − | + | subgraphs=dfpt(conmatrix,max_sg_size) | |
| − | + | ==Parameters== | |
| − | |||
| − | + | conmatrix - a matrix with 1 for connected spins | |
| − | + | and zeros elsewhere. | |
| + | |||
| + | max_sg_size - maximum connected subgraph size in | ||
| + | the resulting subgraph list. | ||
| − | + | ==Outputs== | |
| − | contains 1 for spins that belong to the subgraph and | + | |
| + | subgraphs - [n_subgraphs x nspins] matrix; each | ||
| + | row contains 1 for spins that belong | ||
| + | to the subgraph and zeroes elsewhere. | ||
| + | |||
| + | ==See also== | ||
| + | [[scomponents.m]], [[sparse2csr.m]], [[zte.m]], [[path_trace.m]], [[reduce.m]], [[adelim.m]], [[coherence.m]], [[correlation.m]], [[homospoil.m]], [[human2opspec.m]], [[lin2lm.m]], [[lin2lmn.m]], [[lm2lin.m]], [[lmn2lin.m]], [[sinkhole.m]], [[sphten2zeeman.m]], [[stitch.m]], [[Kernel_utilities]] | ||
| + | |||
| + | ''Version 2.3, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 18:35, 6 June 2026
Graph partitioning module. Analyzes the system connectivity graph and creates a list of all connected subgraphs of up to the user-specified size by crawling the graph in all available directions.
Syntax
subgraphs=dfpt(conmatrix,max_sg_size)
Parameters
conmatrix - a matrix with 1 for connected spins
and zeros elsewhere.
max_sg_size - maximum connected subgraph size in
the resulting subgraph list.
Outputs
subgraphs - [n_subgraphs x nspins] matrix; each
row contains 1 for spins that belong
to the subgraph and zeroes elsewhere.
See also
scomponents.m, sparse2csr.m, zte.m, path_trace.m, reduce.m, adelim.m, coherence.m, correlation.m, homospoil.m, human2opspec.m, lin2lm.m, lin2lmn.m, lm2lin.m, lmn2lin.m, sinkhole.m, sphten2zeeman.m, stitch.m, Kernel_utilities
Version 2.3, authors: Ilya Kuprov