PaStiX Handbook 6.4.0
Loading...
Searching...
No Matches
order.h File Reference
#include "pastix/config.h"
#include "pastix/datatypes.h"

Go to the source code of this file.

Data Structures

struct  pastix_order_s
 Order structure. More...
 

Typedefs

typedef BEGIN_C_DECLS struct pastix_order_s pastix_order_t
 Order structure.
 

Functions

Order basic subroutines
int pastixOrderInit (pastix_order_t *const ordeptr, pastix_int_t baseval, pastix_int_t vertnbr, pastix_int_t cblknbr, pastix_int_t *const permtab, pastix_int_t *const peritab, pastix_int_t *const rangtab, pastix_int_t *const treetab)
 Initialize the order structure with the given values.
 
int pastixOrderAlloc (pastix_order_t *const ordeptr, pastix_int_t vertnbr, pastix_int_t cblknbr)
 Allocate the order structure.
 
int pastixOrderAllocId (pastix_order_t *const ordeptr, pastix_int_t vertnbr)
 Allocate the order structure for a given number of vertices with no cblk, and id permutation.
 
void pastixOrderExit (pastix_order_t *const ordeptr)
 Free the arrays initialized in the order structure.
 
void pastixOrderBase (pastix_order_t *const ordeptr, pastix_int_t baseval)
 This routine sets the base of the given ordering structure to the given base value.
 
int pastixOrderCheck (const pastix_order_t *const ordeptr)
 This routine checks the correctness of the ordering structure.
 
void pastixOrderExpand (pastix_order_t *ordeptr, const spmatrix_t *spm)
 This routine expand the permutation arrays and the rangtab when the spm is using multiple dof per unknown.
 
int pastixOrderCopy (pastix_order_t *const ordedst, const pastix_order_t *const ordesrc)
 This routine copy a given ordering in a new one.
 
pastix_order_tpastixOrderGet (const pastix_data_t *const pastix_data)
 This routine returns the pointer to the internal order structure to access permutation information.
 
void pastixOrderBcast (pastix_order_t *ordemesh, int root, PASTIX_Comm pastix_comm)
 This routine broadcast the ordemesh structure from node root to all the other nodes.
 
int pastixOrderGrid (pastix_order_t **myorder, pastix_int_t nx, pastix_int_t ny, pastix_int_t nz)
 
Order IO subroutines
int pastixOrderLoad (const pastix_data_t *pastix_data, pastix_order_t *ordemesh)
 Load an ordering from a file.
 
int pastixOrderSave (pastix_data_t *pastix_data, const pastix_order_t *ordemesh)
 Save an ordering to a file.
 

Detailed Description

PaStiX order structure routines

Version
6.4.0
Author
Francois Pellegrini
Mathieu Faverge
Gregoire Pichon
Pierre Ramet
Date
2024-07-05

Definition in file order.h.