Lines Matching refs:PetscCheck

39PetscCheck(node->type == YAML_MAPPING_NODE, comm, PETSC_ERR_SUP, "Unsupported YAML node type: expe…  in PetscParseLayerYAML()
45 PetscCheck(keynode, comm, PETSC_ERR_LIB, "Corrupt YAML document"); in PetscParseLayerYAML()
46 PetscCheck(valnode, comm, PETSC_ERR_LIB, "Corrupt YAML document"); in PetscParseLayerYAML()
47PetscCheck(keynode->type == YAML_SCALAR_NODE, comm, PETSC_ERR_SUP, "Unsupported YAML node type: ex… in PetscParseLayerYAML()
55 PetscCheck(itemnode, comm, PETSC_ERR_LIB, "Corrupt YAML document"); in PetscParseLayerYAML()
56PetscCheck(itemnode->type == YAML_MAPPING_NODE, comm, PETSC_ERR_SUP, "Unsupported YAML node type: … in PetscParseLayerYAML()
90 PetscCheck(itemnode, comm, PETSC_ERR_LIB, "Corrupt YAML document"); in PetscParseLayerYAML()
99PetscCheck(top - kvn <= 1, comm, PETSC_ERR_SUP, "Unsupported YAML node value: expected a single ke… in PetscParseLayerYAML()
104 PetscCheck(kn, comm, PETSC_ERR_LIB, "Corrupt YAML document"); in PetscParseLayerYAML()
105 PetscCheck(vn, comm, PETSC_ERR_LIB, "Corrupt YAML document"); in PetscParseLayerYAML()
106PetscCheck(kn->type == YAML_SCALAR_NODE, comm, PETSC_ERR_SUP, "Unsupported YAML node type: expecte… in PetscParseLayerYAML()
109PetscCheck(!isMergeKey, comm, PETSC_ERR_SUP, "Unsupported YAML node value: merge key '<<' not supp… in PetscParseLayerYAML()
165 PetscCheck(!err, comm, PETSC_ERR_LIB, "YAML parser initialization error"); in PetscOptionsInsertStringYAML_Private()
169 PetscCheck(!err, comm, PETSC_ERR_LIB, "YAML parser loading error"); in PetscOptionsInsertStringYAML_Private()
253PetscCheck(yamlLength >= 0, PETSC_COMM_SELF, PETSC_ERR_FILE_OPEN, "Unable to query size of YAML fi… in PetscOptionsInsertFileYAML()
256PetscCheck(rd == (size_t)yamlLength, PETSC_COMM_SELF, PETSC_ERR_FILE_READ, "Unable to read entire … in PetscOptionsInsertFileYAML()
263PetscCheck(!require || yamlLength >= 0, comm, PETSC_ERR_FILE_OPEN, "Unable to open YAML option fil… in PetscOptionsInsertFileYAML()