| /petsc/doc/developers/contributing/ |
| H A D | developingmr.md | 7 ## Select the integration branch 10 …branches created by developers to add or change a feature. A new feature branch is the basis for e… 17 The `release` branch contains the latest PETSc release including bug-fixes. 32 The `main` branch contains everything in the release branch as well as new features that have passe… 45 ## Start a new feature branch 49 - Create and switch to a new feature branch: 56 For example, Barry’s new feature branch on removing CPP in `snes/` will 63 Use all lowercase and no additional underscores in the branch name. 110 - Push the feature branch to the remote repository as desired: 116 ## Test your branch [all …]
|
| H A D | submittingmr.md | 8 - The default **target** branch is `main`; if your branch started from `release`, select that as th… 18 - If the branch started from `release` select the `milestone` of `Vxx.yy-release-fixes` 27 - Select the correct target repository `petsc/petsc` along with the target branch. 28 - Select the "Allow commits from members who can merge to the target branch" option. 39 - `workflow::Pipeline-Testing` The user is testing their branch. Generally, unless asked, no one el… 40 - `workflow::Review` The user would like their branch reviewed. 47 …flow::Request-For-Comment` The branch is not being requested to be merged, but the user would like… 48 …w::In-Development` The developer is working on the branch. Other developers not involved in the br… 80 Often, the submitter/assignee will need to update their branch in response to these comments, 95 …rtunately, these closing patterns [only work for MRs to a single default branch](https://gitlab.co…
|
| H A D | pipelines.md | 75 where `job_1` is, for example, `linux-intel`. The script will then prompt you to push the branch of… 123 new changes to the branch you have pushed since that pipeline was started - it retries the 125 when you suspect the testing system has some intermittent error unrelated to your branch. 128 to your branch in the PETSc Discord channel `testing-ci-forum`.
|
| /petsc/doc/developers/ |
| H A D | mrfork.md | 3 # Checkout fork merge request branch 5 `Developers` at times, need to checkout and build changes from a merge request fork branch. Any one… 7 - Checkout `COMMIT-SHA` of the branch HEAD. It is available on the "Commits" tab of the merge reque… 14 - Checkout branch using the repository `URL`. The `URL with branchname` is available as "Source bra… 21 - Setup a local Git clone to access the merge request branch via the `MR-NUMBER`. Here use the foll… 31 Now, the branch is available to checkout: 38 # Commit and push changes to a merge request fork branch 40 Only `Owners/Maintainers` can push commits to a merge request fork branch. Here, use the `ssh-URL` … 56 …ps://gitlab.com/paul.kuehner/petsc/-/tree/add-tao-get-constraints` ("Copy link" of "Source branch")
|
| H A D | documentation.md | 200 Any new images required must be added to the currently-used branch of this repository. 211 - Create a Merge Request to the currently-used branch of the upstream images repository, adding thi… 222 If an image is not used in *any* {any}`integration branch <sec_integration_branches>` (`main` or `r… 231 - Create a new branch `main-X`, where `X` increments the current value 234 - Set `main-X` as the "default" branch on GitLab. 235 - Update both `release` and `main` in the primary PETSc repository to clone this new branch 279 [^bibtex-footnote]: The extensions's [development branch](https://github.com/mcmtroffaes/sphinxcont…
|
| /petsc/src/ksp/ksp/tutorials/network/ |
| H A D | ex1.c | 57 Branch *branch; in read_data() local 65 PetscCall(PetscCalloc2(nnode, &node, nbranch, &branch)); in read_data() 74 branch[i].id = i; in read_data() 75 branch[i].r = 1.0; in read_data() 76 branch[i].bat = 0; in read_data() 84 branch[1].bat = 12.0; in read_data() 132 *pbranch = branch; in read_data() 139 Branch *branch; in FormOperator() local 163 PetscCall(DMNetworkGetComponent(dmnetwork, e, 0, NULL, (void **)&branch, NULL)); in FormOperator() 171 barr[lofst] = branch->bat; in FormOperator() [all …]
|
| H A D | ex1_nest.c | 56 Branch *branch; in read_data() local 65 PetscCall(PetscCalloc1(nbranch, &branch)); in read_data() 74 branch[i].id = i; in read_data() 75 branch[i].r = 1.0; in read_data() 76 branch[i].bat = 0; in read_data() 84 branch[1].bat = 12.0; in read_data() 133 *pbranch = branch; in read_data() 141 Branch *branch; in FormOperator() local 175 PetscCall(DMNetworkGetComponent(networkdm, e, 0, &key, (void **)&branch, NULL)); in FormOperator() 218 barr[lofst] = branch->bat; in FormOperator() [all …]
|
| H A D | ex2.c | 45 Branch *branch; in random_network() local 121 PetscCall(PetscCalloc2(nvertex, &node, nedges, &branch)); in random_network() 130 branch[i].id = i; in random_network() 131 branch[i].r = 1.0; in random_network() 132 branch[i].bat = 0; in random_network() 153 branch[(int)value].bat += 1.0; in random_network() 162 *pbranch = branch; in random_network() 170 Branch *branch; in FormOperator() local 196 PetscCall(DMNetworkGetComponent(networkdm, e, 0, NULL, (void **)&branch, NULL)); in FormOperator() 203 barr[lofst] = branch->bat; in FormOperator() [all …]
|
| /petsc/src/snes/tutorials/network/power/ |
| H A D | pffunctions.c | 8 EDGE_Power branch = pfdata->branch; in GetListofEdges_Power() local 14 fbus = branch[i].internal_i; in GetListofEdges_Power() 15 tbus = branch[i].internal_j; in GetListofEdges_Power() 98 EDGE_Power branch; in FormJacobian_Power_private() local 106 PetscCall(DMNetworkGetComponent(networkdm, e, 0, &key, (void **)&branch, NULL)); in FormJacobian_Power_private() 107 if (!branch->status) continue; in FormJacobian_Power_private() 109 Gff = branch->yff[0]; in FormJacobian_Power_private() 110 Bff = branch->yff[1]; in FormJacobian_Power_private() 111 Gft = branch->yft[0]; in FormJacobian_Power_private() 112 Bft = branch->yft[1]; in FormJacobian_Power_private() [all …]
|
| H A D | power2.c | 61 EDGE_Power branch; in FormFunction_Subnet() local 68 PetscCall(DMNetworkGetComponent(networkdm, e, 0, &keye, (void **)&branch, NULL)); in FormFunction_Subnet() 69 if (!branch->status) continue; in FormFunction_Subnet() 70 Gff = branch->yff[0]; in FormFunction_Subnet() 71 Bff = branch->yff[1]; in FormFunction_Subnet() 72 Gft = branch->yft[0]; in FormFunction_Subnet() 73 Bft = branch->yft[1]; in FormFunction_Subnet() 74 Gtf = branch->ytf[0]; in FormFunction_Subnet() 75 Btf = branch->ytf[1]; in FormFunction_Subnet() 76 Gtt = branch->ytt[0]; in FormFunction_Subnet() [all …]
|
| H A D | case9.m | 37 %% branch data 39 mpc.branch = [
|
| H A D | power.c | 136 …etscCall(DMNetworkAddComponent(networkdm, i, User.compkey_branch, &pfdata->branch[i - eStart], 0)); in main() 155 PetscCall(PetscFree(pfdata->branch)); in main()
|
| H A D | PFReadData.c | 57 PetscCall(PetscCalloc1(pf->nbranch, &pf->branch)); in PFReadMatPowerData() 61 Branch = pf->branch; in PFReadMatPowerData()
|
| H A D | power.h | 140 EDGE_Power branch; member
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | branches.py | 37 for branch in branches: 40 tablerow = "<tr><td>" + branch[7:] +"</td>"; 43 …process = subprocess.Popen(["git", "merge-base", "remotes/" + branch, "master"], stdout=subprocess… 52 …process = subprocess.Popen(["git", "log", "--pretty=format:%at", "remotes/" + branch, "-n", "1"], … 58 …pen(["git", "log", "--pretty=oneline", "remotes/origin/next..remotes/" + branch, "-n", "1"], stdou… 66 …n(["git", "log", "--pretty=oneline", "remotes/origin/master..remotes/" + branch, "-n", "1"], stdou…
|
| H A D | runjobs.py | 41 branch = check_output('git rev-parse --abbrev-ref HEAD', shell=True).decode('utf-8').strip() variable 42 …base = check_output('git merge-base ' + branch + ' remotes/origin/' + branch, shell=True).decode… 43 aref = check_output('git rev-parse ' + branch, shell=True).decode('utf-8').strip() 44 …bref = check_output('git rev-parse remotes/origin/' + branch, shell=True).decode('utf-8').strip()
|
| H A D | exampleslog.py | 151 branch=testDict['info']['branch'] 152 fh=open(outprefix+branch+".csv","w") 196 branch=testDict['info']['branch'] 197 branchtitle="PETSc Examples ("+branch+")" 198 branchhtml=branch+".html" 201 htmlfiles.append(outprefix+branch+'-'+hf+".html") 253 archstr=[arch.replace(branch+'_','').replace("arch-",'') for arch in arches] 319 archstr=[arch.replace(branch+'_','').replace("arch-",'') for arch in arches] 369 archstr=[arch.replace(branch+'_','').replace("arch-",'') for arch in arches] 385 def doLogFiles(self,branch): argument [all …]
|
| H A D | check-ci-settings.sh | 4 echo Skipping as this is MR CI for "${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}" branch 8 dest=$(lib/petsc/bin/maint/check-merge-branch.sh)
|
| H A D | abicheck.py | 48 branch = subprocess.check_output(['grep', '^#define PETSC_VERSION_BRANCH_GIT', petscconf]) 49 branch = branch.split("\"")[1] 83 file.write(branch + ' (' + hash +')')
|
| H A D | builddist | 23 branch=$2 27 branch=$2 30 branch='main' 58 git fetch -q origin $branch
|
| H A D | check-each-commit.sh | 3 dest=$(lib/petsc/bin/maint/check-merge-branch.sh)
|
| /petsc/src/ts/tutorials/power_grid/stability_9bus/ |
| H A D | ex9busdmnetwork.c | 113 Branch *branch; in read_data() local 184 … nc, &bus, NGEN * nc, &gen, NLOAD * nc, &load, NBRANCH * nc + (nc - 1), &branch, NGEN * nc, &exc)); in read_data() 317 branch[9 * nc + (i - 1)].id = 9 * nc + (i - 1); in read_data() 318 branch[9 * nc + (i - 1)].yft[0] = 17.3611; in read_data() 319 branch[9 * nc + (i - 1)].yft[1] = -0.0301407; in read_data() 332 branch[i * 9 + j].id = i * 9 + j; in read_data() 337 …PetscCall(MatGetValues(Ybus, 1, row, 2, col, branch[i * 9 + j].yft)); /*imaginary part of admittan… in read_data() 345 *pbranch = branch; in read_data() 566 Branch *branch; in FormIFunction() local 572 PetscCall(DMNetworkGetComponent(networkdm, e, 0, &keye, (void **)&branch, NULL)); in FormIFunction() [all …]
|
| /petsc/ |
| H A D | makefile | 419 …echo "Doing ABI/API comparison between" ${branch} " and " `git rev-parse --abbrev-ref HEAD` "using… 428 git checkout ${branch} ;\ 429 PETSC_DIR=`pwd` PETSC_ARCH=arch-branch-`git rev-parse ${branch}` ./configure $${OPTIONS} ;\ 430 PETSC_DIR=`pwd` PETSC_ARCH=arch-branch-`git rev-parse ${branch}` make all test ;\ 434 …PETSC_DIR_ABI_OLD=$${PETSC_DIR_OLD} PETSC_ARCH_ABI_OLD=arch-branch-`git rev-parse ${branch}` make … 509 …ON) ${PETSC_DIR}/lib/petsc/bin/maint/gcov.py --merge-branch `lib/petsc/bin/maint/check-merge-branc…
|
| /petsc/doc/install/ |
| H A D | download.md | 7 Use `release` branch from PETSc git repository - it provides the latest release with additional cru… 57 Improvements and new features get added to `main` branch of PETSc Git repository. To obtain develop… 94 - May (features added since v3.21.0) main branch 95 - May (bug fixes since v3.21.1) release branch
|
| /petsc/doc/overview/ |
| H A D | gpu_roadmap.md | 73 **You should use PETSc main (Git branch) for GPUs, do not install the current release.**
|