OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
mumps_common.c File Reference
#include <stdlib.h>
#include "mumps_common.h"

Go to the source code of this file.

Functions

MUMPS_INTmumps_get_mapping ()
void MUMPS_CALL MUMPS_ASSIGN_MAPPING (MUMPS_INT *f77mapping)
void MUMPS_CALL MUMPS_NULLIFY_C_MAPPING ()
MUMPS_INTmumps_get_pivnul_list ()
void MUMPS_CALL MUMPS_ASSIGN_PIVNUL_LIST (MUMPS_INT *f77pivnul_list)
void MUMPS_CALL MUMPS_NULLIFY_C_PIVNUL_LIST ()
MUMPS_INTmumps_get_sym_perm ()
void MUMPS_CALL MUMPS_ASSIGN_SYM_PERM (MUMPS_INT *f77sym_perm)
void MUMPS_CALL MUMPS_NULLIFY_C_SYM_PERM ()
MUMPS_INTmumps_get_uns_perm ()
void MUMPS_CALL MUMPS_ASSIGN_UNS_PERM (MUMPS_INT *f77uns_perm)
void MUMPS_CALL MUMPS_NULLIFY_C_UNS_PERM ()
 for (i8=*sizetab-1;i8 >=0;i8--)
 for (i8=0;i8< *sizetab;i8++)
void MUMPS_CALL MUMPS_MALLOC_C (MUMPS_INT8 *address, MUMPS_INT8 *size)
void MUMPS_CALL MUMPS_FREE_C (void *address)

Variables

static MUMPS_INTMUMPS_MAPPING
static MUMPS_INTMUMPS_PIVNUL_LIST
static MUMPS_INTMUMPS_SYM_PERM
static MUMPS_INTMUMPS_UNS_PERM
void MUMPS_CALL

Function Documentation

◆ for() [1/2]

for ( i8 = *sizetab-1; i8 >=0; i8--)

Definition at line 91 of file mumps_common.c.

92 {
93 /* outtab8[i8]=(MUMPS_INT8)intab4[i8]; */
94 ((MUMPS_INT8 *)inouttab)[i8]=(MUMPS_INT8)inouttab[i8];
95 }
#define MUMPS_INT8

◆ for() [2/2]

for ( )

Definition at line 103 of file mumps_common.c.

104 {
105 /* outtab4[i8]=(MUMPS_INT)intab8[i8]; */
106 ((MUMPS_INT *)inouttab)[i8]=(MUMPS_INT)inouttab[i8];
107 }
#define MUMPS_INT

◆ MUMPS_ASSIGN_MAPPING()

void MUMPS_CALL MUMPS_ASSIGN_MAPPING ( MUMPS_INT * f77mapping)

Definition at line 30 of file mumps_common.c.

31{
32 MUMPS_MAPPING = f77mapping;
33}
static MUMPS_INT * MUMPS_MAPPING

◆ MUMPS_ASSIGN_PIVNUL_LIST()

void MUMPS_CALL MUMPS_ASSIGN_PIVNUL_LIST ( MUMPS_INT * f77pivnul_list)

Definition at line 45 of file mumps_common.c.

46{
47 MUMPS_PIVNUL_LIST = f77pivnul_list;
48}
static MUMPS_INT * MUMPS_PIVNUL_LIST

◆ MUMPS_ASSIGN_SYM_PERM()

void MUMPS_CALL MUMPS_ASSIGN_SYM_PERM ( MUMPS_INT * f77sym_perm)

Definition at line 60 of file mumps_common.c.

61{
62 MUMPS_SYM_PERM = f77sym_perm;
63}
static MUMPS_INT * MUMPS_SYM_PERM

◆ MUMPS_ASSIGN_UNS_PERM()

void MUMPS_CALL MUMPS_ASSIGN_UNS_PERM ( MUMPS_INT * f77uns_perm)

Definition at line 75 of file mumps_common.c.

76{
77 MUMPS_UNS_PERM = f77uns_perm;
78}
static MUMPS_INT * MUMPS_UNS_PERM

◆ MUMPS_FREE_C()

void MUMPS_CALL MUMPS_FREE_C ( void * address)

Definition at line 117 of file mumps_common.c.

118{
119 free(address);
120}

◆ mumps_get_mapping()

MUMPS_INT * mumps_get_mapping ( )

Definition at line 25 of file mumps_common.c.

26{
27 return MUMPS_MAPPING;
28}

◆ mumps_get_pivnul_list()

MUMPS_INT * mumps_get_pivnul_list ( )

Definition at line 40 of file mumps_common.c.

41{
42 return MUMPS_PIVNUL_LIST;
43}

◆ mumps_get_sym_perm()

MUMPS_INT * mumps_get_sym_perm ( )

Definition at line 55 of file mumps_common.c.

56{
57 return MUMPS_SYM_PERM;
58}

◆ mumps_get_uns_perm()

MUMPS_INT * mumps_get_uns_perm ( )

Definition at line 70 of file mumps_common.c.

71{
72 return MUMPS_UNS_PERM;
73}

◆ MUMPS_MALLOC_C()

void MUMPS_CALL MUMPS_MALLOC_C ( MUMPS_INT8 * address,
MUMPS_INT8 * size )

Definition at line 110 of file mumps_common.c.

111{
112 void * ptr;
113 ptr=malloc(*size);
114 *address=(MUMPS_INT8)(ptr);
115}

◆ MUMPS_NULLIFY_C_MAPPING()

void MUMPS_CALL MUMPS_NULLIFY_C_MAPPING ( )

Definition at line 35 of file mumps_common.c.

36{
37 MUMPS_MAPPING = 0;
38}

◆ MUMPS_NULLIFY_C_PIVNUL_LIST()

void MUMPS_CALL MUMPS_NULLIFY_C_PIVNUL_LIST ( )

Definition at line 50 of file mumps_common.c.

51{
53}

◆ MUMPS_NULLIFY_C_SYM_PERM()

void MUMPS_CALL MUMPS_NULLIFY_C_SYM_PERM ( )

Definition at line 65 of file mumps_common.c.

66{
68}

◆ MUMPS_NULLIFY_C_UNS_PERM()

void MUMPS_CALL MUMPS_NULLIFY_C_UNS_PERM ( )

Definition at line 80 of file mumps_common.c.

81{
83}

Variable Documentation

◆ MUMPS_CALL

void MUMPS_CALL
Initial value:

Definition at line 84 of file mumps_common.c.

◆ MUMPS_MAPPING

MUMPS_INT* MUMPS_MAPPING
static

Definition at line 19 of file mumps_common.c.

◆ MUMPS_PIVNUL_LIST

MUMPS_INT* MUMPS_PIVNUL_LIST
static

Definition at line 20 of file mumps_common.c.

◆ MUMPS_SYM_PERM

MUMPS_INT* MUMPS_SYM_PERM
static

Definition at line 22 of file mumps_common.c.

◆ MUMPS_UNS_PERM

MUMPS_INT* MUMPS_UNS_PERM
static

Definition at line 23 of file mumps_common.c.