Searched refs:petsc_type (Results 1 – 5 of 5) sorted by relevance
25 PetscDataType petsc_type; member
412 if (field->petsc_type == PETSC_DOUBLE) { in DMSwarmViewXDMF()417 } else if (field->petsc_type == PETSC_INT) { in DMSwarmViewXDMF()
447 gfield->petsc_type = fields[f]->petsc_type; in DMSwarmDataBucketCreateFromSubset()
1755 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()
693 …PetscCheck(gfield[f]->petsc_type == PETSC_REAL, comm, PETSC_ERR_SUP, "Projection only valid for fi… in DMSwarmProjectFields()