Home
last modified time | relevance | path

Searched refs:part_weights (Results 1 – 9 of 9) sorted by relevance

/dports/science/py-pyscf/pyscf-2.0.1/pyscf/solvent/
H A Dddcosmo_grad.py156 part_weights = weights_1sph.copy()
157 part_weights[fi[ja]>1] /= fi[ja,fi[ja]>1]
160 tmp = part_weights[fi[ja]>1] / fi[ja,fi[ja]>1]
173 wjk0 *= part_weights
174 wjk1 *= part_weights
H A Dddcosmo.py382 part_weights = weights_1sph.copy()
383 part_weights[fi[ja]>1] /= fi[ja,fi[ja]>1]
388 wjk *= part_weights
/dports/science/PETSc/petsc-3.14.1/src/mat/partition/impls/hierarchical/
H A Dhierarchical.c42 PetscReal *part_weights; in MatPartitioningApply_Hierarchical() local
98 ierr = PetscMalloc1(hpart->ncoarseparts, &part_weights);CHKERRQ(ierr); in MatPartitioningApply_Hierarchical()
104 part_weights[0] = ((PetscReal)offsets[1])/part->n; in MatPartitioningApply_Hierarchical()
108 part_weights[i-1] = ((PetscReal)offsets[i])/part->n; in MatPartitioningApply_Hierarchical()
147 ierr = MatPartitioningSetPartitionWeights(hpart->coarseMatPart, part_weights);CHKERRQ(ierr); in MatPartitioningApply_Hierarchical()
/dports/science/PETSc/petsc-3.14.1/src/mat/partition/
H A Dpartition.c497 ierr = PetscFree((*part)->part_weights);CHKERRQ(ierr); in MatPartitioningDestroy()
558 ierr = PetscFree(part->part_weights);CHKERRQ(ierr); in MatPartitioningSetPartitionWeights()
559 part->part_weights = (PetscReal*)weights; in MatPartitioningSetPartitionWeights()
642 part->part_weights = NULL; in MatPartitioningCreate()
/dports/science/PETSc/petsc-3.14.1/src/mat/partition/impls/scotch/
H A Dscotch.c266 proc_weight_flg = part->part_weights ? PETSC_TRUE : PETSC_FALSE; in MatPartitioningApply_PTScotch_Private()
309 if (part->part_weights) vwgttab[j] = part->part_weights[j]*nparts; in MatPartitioningApply_PTScotch_Private()
/dports/science/PETSc/petsc-3.14.1/src/mat/partition/impls/pmetis/
H A Dpmetis.c96 if (part->part_weights) { in MatPartitioningApply_Parmetis_Private()
97 tpwgts[i*nparts+j] = part->part_weights[i*nparts+j]; in MatPartitioningApply_Parmetis_Private()
/dports/science/PETSc/petsc-3.14.1/include/petsc/private/
H A Dmatimpl.h529 PetscReal *part_weights; member
/dports/science/PETSc/petsc-3.14.1/
H A DTAGS10399 PetscReal *part_weights;part_weights529,26032
H A DCTAGS74091 part_weights include/petsc/private/matimpl.h /^ PetscReal *part_weights;$/;" m language:C++ stru…