Home
last modified time | relevance | path

Searched refs:petsc_type (Results 1 – 5 of 5) sorted by relevance

/petsc/src/dm/impls/swarm/
H A Ddata_bucket.h25 PetscDataType petsc_type; member
H A Dswarmpic_view.c412 if (field->petsc_type == PETSC_DOUBLE) { in DMSwarmViewXDMF()
417 } else if (field->petsc_type == PETSC_INT) { in DMSwarmViewXDMF()
H A Ddata_bucket.c447 gfield->petsc_type = fields[f]->petsc_type; in DMSwarmDataBucketCreateFromSubset()
H A Dswarm.c1755 swarm->db->field[swarm->db->nfields - 1]->petsc_type = type; in DMSwarmRegisterPetscDatatypeField()
1782 swarm->db->field[swarm->db->nfields - 1]->petsc_type = PETSC_STRUCT; in DMSwarmRegisterUserStructField()
1816 swarm->db->field[swarm->db->nfields - 1]->petsc_type = PETSC_DATATYPE_UNKNOWN; in DMSwarmRegisterUserDatatypeField()
1856 if (type) *type = gfield->petsc_type; in DMSwarmGetField()
1906 if (type) *type = gfield->petsc_type; in DMSwarmGetFieldInfo()
2891 …ll(DMSwarmRegisterPetscDatatypeField(*nsw, fields[f]->name, fields[f]->bs, fields[f]->petsc_type)); in DMSwarmDuplicate()
/petsc/src/ksp/ksp/utils/dm/
H A Ddmproject.c693 …PetscCheck(gfield[f]->petsc_type == PETSC_REAL, comm, PETSC_ERR_SUP, "Projection only valid for fi… in DMSwarmProjectFields()