Lines Matching refs:XMLSectionDepth
16 int XMLSectionDepth; in PetscViewerXMLStartSection() local
20 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLStartSection()
22 PetscCall(PetscViewerASCIIPrintf(viewer, "%*s<%s>\n", 2 * XMLSectionDepth, "", name)); in PetscViewerXMLStartSection()
24 …PetscCall(PetscViewerASCIIPrintf(viewer, "%*s<%s desc=\"%s\">\n", 2 * XMLSectionDepth, "", name, d… in PetscViewerXMLStartSection()
48 int XMLSectionDepth; in PetscViewerXMLEndSection() local
52 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLEndSection()
53 if (XMLSectionDepth > 0) PetscCall(PetscViewerASCIIPopTab(viewer)); in PetscViewerXMLEndSection()
55 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLEndSection()
56 PetscCall(PetscViewerASCIIPrintf(viewer, "%*s</%s>\n", 2 * XMLSectionDepth, "", name)); in PetscViewerXMLEndSection()
71 int XMLSectionDepth; in PetscViewerXMLPutString() local
75 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLPutString()
77 …PetscCall(PetscViewerASCIIPrintf(viewer, "%*s<%s>%s</%s>\n", 2 * XMLSectionDepth, "", name, value,… in PetscViewerXMLPutString()
79 …PetscCall(PetscViewerASCIIPrintf(viewer, "%*s<%s desc=\"%s\">%s</%s>\n", 2 * XMLSectionDepth, "", … in PetscViewerXMLPutString()
87 int XMLSectionDepth; in PetscViewerXMLPutInt() local
91 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLPutInt()
93 …PetscCall(PetscViewerASCIIPrintf(viewer, "%*s<%s>%d</%s>\n", 2 * XMLSectionDepth, "", name, value,… in PetscViewerXMLPutInt()
95 …PetscCall(PetscViewerASCIIPrintf(viewer, "%*s<%s desc=\"%s\">%d</%s>\n", 2 * XMLSectionDepth, "", … in PetscViewerXMLPutInt()
103 int XMLSectionDepth; in PetscViewerXMLPutDouble() local
108 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLPutDouble()
109 …PetscCall(PetscSNPrintf(buffer, sizeof(buffer), "%*s<%s>%s</%s>\n", 2 * XMLSectionDepth, "", name,… in PetscViewerXMLPutDouble()