Lines Matching refs:alg

75   MatProductAlgorithm alg;  in MatMatMultSymbolic_SeqAIJ_SeqAIJ()  local
80 alg = product->alg; in MatMatMultSymbolic_SeqAIJ_SeqAIJ()
82 alg = "sorted"; in MatMatMultSymbolic_SeqAIJ_SeqAIJ()
85 PetscCall(PetscStrcmp(alg, "sorted", &flg)); in MatMatMultSymbolic_SeqAIJ_SeqAIJ()
92 PetscCall(PetscStrcmp(alg, "scalable", &flg)); in MatMatMultSymbolic_SeqAIJ_SeqAIJ()
99 PetscCall(PetscStrcmp(alg, "scalable_fast", &flg)); in MatMatMultSymbolic_SeqAIJ_SeqAIJ()
106 PetscCall(PetscStrcmp(alg, "heap", &flg)); in MatMatMultSymbolic_SeqAIJ_SeqAIJ()
113 PetscCall(PetscStrcmp(alg, "btheap", &flg)); in MatMatMultSymbolic_SeqAIJ_SeqAIJ()
120 PetscCall(PetscStrcmp(alg, "llcondensed", &flg)); in MatMatMultSymbolic_SeqAIJ_SeqAIJ()
127 PetscCall(PetscStrcmp(alg, "rowmerge", &flg)); in MatMatMultSymbolic_SeqAIJ_SeqAIJ()
134 PetscCall(PetscStrcmp(alg, "hypre", &flg)); in MatMatMultSymbolic_SeqAIJ_SeqAIJ()
1218 char *alg; in MatMatTransposeMultSymbolic_SeqAIJ_SeqAIJ() local
1230 PetscCall(PetscStrallocpy(product->alg, &alg)); in MatMatTransposeMultSymbolic_SeqAIJ_SeqAIJ()
1233 PetscCall(MatProductSetAlgorithm(C, alg)); /* resume original algorithm for ABt product */ in MatMatTransposeMultSymbolic_SeqAIJ_SeqAIJ()
1234 PetscCall(PetscFree(alg)); in MatMatTransposeMultSymbolic_SeqAIJ_SeqAIJ()
1245 PetscCall(PetscStrcmp(product->alg, "color", &abt->usecoloring)); in MatMatTransposeMultSymbolic_SeqAIJ_SeqAIJ()
1395 PetscCall(PetscStrcmp(product->alg, "outerproduct", &flg)); in MatTransposeMatMultSymbolic_SeqAIJ_SeqAIJ()
1416 PetscCall(PetscStrcmp(product->alg, "default", &def)); in MatTransposeMatMultSymbolic_SeqAIJ_SeqAIJ()
1417 PetscCall(PetscStrcmp(product->alg, "at*b", &flg)); in MatTransposeMatMultSymbolic_SeqAIJ_SeqAIJ()
1988 PetscInt alg = 0; /* default algorithm */ in MatProductSetFromOptions_SeqAIJ_AB() local
2000 PetscCall(PetscStrcmp(C->product->alg, "default", &flg)); in MatProductSetFromOptions_SeqAIJ_AB()
2001 if (flg) PetscCall(MatProductSetAlgorithm(C, algTypes[alg])); in MatProductSetFromOptions_SeqAIJ_AB()
2006 …"-matmatmult_via", "Algorithmic approach", "MatMatMult", algTypes, nalg, algTypes[0], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_AB()
2010 …uct_algorithm", "Algorithmic approach", "MatProduct_AB", algTypes, nalg, algTypes[0], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_AB()
2013 if (flg) PetscCall(MatProductSetAlgorithm(C, algTypes[alg])); in MatProductSetFromOptions_SeqAIJ_AB()
2023 PetscInt alg = 0; /* default algorithm */ in MatProductSetFromOptions_SeqAIJ_AtB() local
2032 …t_via", "Algorithmic approach", "MatTransposeMatMult", algTypes, nalg, algTypes[alg], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_AtB()
2036 …_algorithm", "Algorithmic approach", "MatProduct_AtB", algTypes, nalg, algTypes[alg], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_AtB()
2039 if (flg) PetscCall(MatProductSetAlgorithm(C, algTypes[alg])); in MatProductSetFromOptions_SeqAIJ_AtB()
2048 PetscInt alg = 0; /* default algorithm */ in MatProductSetFromOptions_SeqAIJ_ABt() local
2055 PetscCall(PetscStrcmp(C->product->alg, "default", &flg)); in MatProductSetFromOptions_SeqAIJ_ABt()
2057 alg = 1; in MatProductSetFromOptions_SeqAIJ_ABt()
2058 PetscCall(MatProductSetAlgorithm(C, algTypes[alg])); in MatProductSetFromOptions_SeqAIJ_ABt()
2064 …t_via", "Algorithmic approach", "MatMatTransposeMult", algTypes, nalg, algTypes[alg], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_ABt()
2068 …_algorithm", "Algorithmic approach", "MatProduct_ABt", algTypes, nalg, algTypes[alg], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_ABt()
2071 if (flg) PetscCall(MatProductSetAlgorithm(C, algTypes[alg])); in MatProductSetFromOptions_SeqAIJ_ABt()
2082 PetscInt alg = 0; /* default algorithm -- alg=1 should be default!!! */ in MatProductSetFromOptions_SeqAIJ_PtAP() local
2093 PetscCall(PetscStrcmp(product->alg, "default", &flg)); in MatProductSetFromOptions_SeqAIJ_PtAP()
2094 if (flg) PetscCall(MatProductSetAlgorithm(C, algTypes[alg])); in MatProductSetFromOptions_SeqAIJ_PtAP()
2099 …EList("-matptap_via", "Algorithmic approach", "MatPtAP", algTypes, nalg, algTypes[0], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_PtAP()
2103 …t_algorithm", "Algorithmic approach", "MatProduct_PtAP", algTypes, nalg, algTypes[0], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_PtAP()
2106 if (flg) PetscCall(MatProductSetAlgorithm(C, algTypes[alg])); in MatProductSetFromOptions_SeqAIJ_PtAP()
2116 PetscInt alg = 0; /* default algorithm */ in MatProductSetFromOptions_SeqAIJ_RARt() local
2122 PetscCall(PetscStrcmp(product->alg, "default", &flg)); in MatProductSetFromOptions_SeqAIJ_RARt()
2123 if (flg) PetscCall(MatProductSetAlgorithm(C, algTypes[alg])); in MatProductSetFromOptions_SeqAIJ_RARt()
2128 …EList("-matrart_via", "Algorithmic approach", "MatRARt", algTypes, nalg, algTypes[0], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_RARt()
2132 …t_algorithm", "Algorithmic approach", "MatProduct_RARt", algTypes, nalg, algTypes[0], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_RARt()
2135 if (flg) PetscCall(MatProductSetAlgorithm(C, algTypes[alg])); in MatProductSetFromOptions_SeqAIJ_RARt()
2145 PetscInt alg = 0; /* default algorithm */ in MatProductSetFromOptions_SeqAIJ_ABC() local
2152 PetscCall(PetscStrcmp(product->alg, "default", &flg)); in MatProductSetFromOptions_SeqAIJ_ABC()
2153 if (flg) PetscCall(MatProductSetAlgorithm(C, algTypes[alg])); in MatProductSetFromOptions_SeqAIJ_ABC()
2158 …matmult_via", "Algorithmic approach", "MatMatMatMult", algTypes, nalg, algTypes[alg], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_ABC()
2162 …_algorithm", "Algorithmic approach", "MatProduct_ABC", algTypes, nalg, algTypes[alg], &alg, &flg)); in MatProductSetFromOptions_SeqAIJ_ABC()
2165 if (flg) PetscCall(MatProductSetAlgorithm(C, algTypes[alg])); in MatProductSetFromOptions_SeqAIJ_ABC()