| /petsc/src/dm/impls/network/ |
| H A D | network.c | 10 static PetscErrorCode SetUpNetworkHeaderComponentValue(DM dm, DMNetworkComponentHeader header, DMNe… in SetUpNetworkHeaderComponentValue() argument 14 …header->maxcomps, &header->size, header->maxcomps, &header->key, header->maxcomps, &header->offset… in SetUpNetworkHeaderComponentValue() 15 PetscCall(PetscCalloc1(header->maxcomps, &cvalue->data)); in SetUpNetworkHeaderComponentValue() 19 …header->hsize = sizeof(struct _p_DMNetworkComponentHeader) + 5 * header->maxcomps * sizeof(PetscIn… in SetUpNetworkHeaderComponentValue() 20 header->hsize /= sizeof(DMNetworkComponentGenericDataType); in SetUpNetworkHeaderComponentValue() 23 header->hsize = (header->hsize + (8 - 1)) & ~(8 - 1); in SetUpNetworkHeaderComponentValue() 35 if (network->header) in DMNetworkInitializeHeaderComponentData() 37 network->header[p].maxcomps = defaultnumcomp; in DMNetworkInitializeHeaderComponentData() 38 PetscCall(SetUpNetworkHeaderComponentValue(dm, &network->header[p], &network->cvalue[p])); in DMNetworkInitializeHeaderComponentData() 627 network->header[p].ndata = 0; in DMNetworkInitializeNonTopological() [all …]
|
| H A D | networkcreate.c | 273 network->header = NULL; in DMNetworkInitializeToDefault_NonShared() 357 PetscCall(PetscCalloc2(np, &newnetwork->header, np, &newnetwork->cvalue)); in DMNetworkCopyHeaderTopological() 362 newnetwork->header[i].index = index; in DMNetworkCopyHeaderTopological() 363 newnetwork->header[i].subnetid = subnetid; in DMNetworkCopyHeaderTopological() 364 newnetwork->header[i].size = NULL; in DMNetworkCopyHeaderTopological() 365 newnetwork->header[i].key = NULL; in DMNetworkCopyHeaderTopological() 366 newnetwork->header[i].offset = NULL; in DMNetworkCopyHeaderTopological() 367 newnetwork->header[i].nvar = NULL; in DMNetworkCopyHeaderTopological() 368 newnetwork->header[i].offsetvarrel = NULL; in DMNetworkCopyHeaderTopological() 369 newnetwork->header[i].ndata = 0; in DMNetworkCopyHeaderTopological() [all …]
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/Scripts/ |
| H A D | Sections.js | 1 function showContent(header, id) argument 8 header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[−]"); 14 header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[+]");
|
| /petsc/src/sys/objects/cxx/memory/ |
| H A D | object_pool.cxx | 129 AllocationHeader *header = nullptr; in delete_ptr_() local 131 PetscCall(extract_header_(ptr, &header, false)); in delete_ptr_() 133 PetscCall(PetscUnpoisonMemoryRegion(header, sizeof(*header))); in delete_ptr_() 134 PetscCall(PetscUnpoisonMemoryRegion(header, total_size_(header->size, header->align))); in delete_ptr_() 135 PetscCallCXX(::delete[] reinterpret_cast<unsigned char *>(header)); in delete_ptr_() 247 PetscErrorCode PoolAllocator::extract_header_(void *user_ptr, AllocationHeader **header, bool check… in extract_header_() argument 251 PetscAssertPointer(header, 2); in extract_header_() 275 …*header = reinterpret_cast<AllocationHeader *>(buffer_zone_end - alignment_offset - sizeof(Allocat… in extract_header_() 394 AllocationHeader *header = nullptr; in get_attributes() local 396 PetscCall(extract_header_(const_cast<void *>(ptr), &header, /* check ptr = */ false)); in get_attributes() [all …]
|
| /petsc/config/BuildSystem/config/ |
| H A D | headers.py | 74 def getDefineName(self, header): argument 75 return 'HAVE_'+header.upper().replace('.', '_').replace('/', '_') 77 def haveHeader(self, header): argument 78 return self.getDefineName(header) in self.defines 80 def check(self,header, adddefine = 1): argument 82 self.log.write('Checking for header: '+header+'\n') 84 if self.checkPreprocess('#include <'+header+'>\n'): 86 if adddefine: self.addDefine(self.getDefineName(header), found) 212 for header in self.headers: 213 self.executeTest(self.check, header)
|
| /petsc/share/petsc/matlab/ |
| H A D | PetscBinaryRead.m | 81 header = double(read(fd,1,indices)); variable 82 if isempty(header) 91 if header == 1211216 % PETSc Mat Object 93 header = double(read(fd,3,indices)); variable 94 m = header(1); 95 n = header(2); 96 nz = header(3); 138 elseif header == 1211214 % PETSc Vec Object 152 elseif header == 1211213 % single real number 161 elseif header == 1211218 % PETSc IS Object [all …]
|
| H A D | PetscReadBinaryTrajectory.m | 49 header = double(read(fd,1,indices)); variable 51 if isempty(header) 56 if header == 1211214 % PETSc Vec Object
|
| /petsc/src/sys/webclient/ |
| H A D | client.c | 104 static PetscErrorCode PetscHTTPBuildRequest(const char type[], const char url[], const char header[… in PetscHTTPBuildRequest() argument 121 if (header) { in PetscHTTPBuildRequest() 122 PetscCall(PetscStrendswith(header, "\r\n", &flg)); in PetscHTTPBuildRequest() 123 …cCheck(flg, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Header must end with \\r\\n, it is %s", header); in PetscHTTPBuildRequest() 131 PetscCall(PetscStrlen(header, &headlen)); in PetscHTTPBuildRequest() 146 PetscCall(PetscStrlcat(request, header, request_len)); in PetscHTTPBuildRequest() 176 PetscErrorCode PetscHTTPSRequest(const char type[], const char url[], const char header[], const ch… in PetscHTTPSRequest() argument 184 PetscCall(PetscHTTPBuildRequest(type, url, header, ctype, body, &request)); in PetscHTTPSRequest() 264 PetscErrorCode PetscHTTPRequest(const char type[], const char url[], const char header[], const cha… in PetscHTTPRequest() argument 270 PetscCall(PetscHTTPBuildRequest(type, url, header, ctype, body, &request)); in PetscHTTPRequest()
|
| /petsc/doc/overview/ |
| H A D | tao_solve_table.md | 11 :header-rows: 1 79 :header-rows: 1 163 :header-rows: 1 215 :header-rows: 1 243 :header-rows: 1 271 :header-rows: 1
|
| /petsc/src/vec/vec/tests/output/ |
| H A D | ex46_1_p6.out | 1 *** PetscViewer[write] skipping header *** 2 *** PetscViewer[load] skipping header ***
|
| H A D | ex46_1_p12.out | 1 *** PetscViewer[write] skipping header *** 2 *** PetscViewer[load] skipping header ***
|
| H A D | ex46_1_p1.out | 1 *** PetscViewer[write] skipping header *** 2 *** PetscViewer[load] skipping header ***
|
| H A D | ex46_2_p6.out | 2 *** PetscViewer[write] skipping header *** 3 *** PetscViewer[load] skipping header ***
|
| H A D | ex46_2_p1.out | 2 *** PetscViewer[write] skipping header *** 3 *** PetscViewer[load] skipping header ***
|
| H A D | ex46_2_p12.out | 2 *** PetscViewer[write] skipping header *** 3 *** PetscViewer[load] skipping header ***
|
| /petsc/src/dm/tutorials/output/ |
| H A D | ex15_1.out | 2 *** PetscViewer[write] skipping header *** 3 *** PetscViewer[load] skipping header ***
|
| H A D | ex15_2.out | 2 *** PetscViewer[write] skipping header *** 3 *** PetscViewer[load] skipping header ***
|
| H A D | ex15_3.out | 3 *** PetscViewer[write] skipping header *** 4 *** PetscViewer[load] skipping header ***
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | abicheck.py | 76 header = os.path.join(petsc_dir,'include',name+'.h') 77 if not os.path.isfile(header): 78 raise RuntimeError('File %s does not exist.\n'% (header)) 79 petscheaders += header+'\n'
|
| /petsc/config/ |
| H A D | example_template.py | 1 header="""#!/usr/bin/env bash variable
|
| /petsc/doc/developers/ |
| H A D | mrmanagement.md | 14 :header-rows: 1 33 :header-rows: 1
|
| /petsc/systems/Apple/iOS/examples/Basic/ |
| H A D | examples_Prefix.pch | 2 // Prefix header for all source files of the 'iphone' target in the 'iphone' project
|
| /petsc/systems/Apple/OSX/examples/PETSc cocoa example/PETSc cocoa example/ |
| H A D | PETSc cocoa example-Prefix.pch | 2 // Prefix header for all source files of the 'PETSc cocoa example' target in the 'PETSc cocoa examp…
|
| /petsc/systems/Apple/iOS/examples/testopengl/ |
| H A D | examples_Prefix.pch | 2 // Prefix header for all source files of the 'iphone' target in the 'iphone' project
|
| /petsc/src/sys/classes/draw/utils/ |
| H A D | image.c | 14 char header[32]; in PetscDrawImageSavePPM() local 38 PetscCall(PetscSNPrintf(header, sizeof(header), "P6\n%d %d\n255\n%c", (int)w, (int)h, '\0')); in PetscDrawImageSavePPM() 39 PetscCall(PetscStrlen(header, &hdrlen)); in PetscDrawImageSavePPM() 40 PetscCall(PetscBinaryWrite(fd, header, hdrlen, PETSC_CHAR)); in PetscDrawImageSavePPM()
|