Skip to content

Commit 73b14a4

Browse files
committed
Rename master branch to main
Also revise master/slave terminology in description of non-conforming meshes.
1 parent af9834c commit 73b14a4

File tree

5 files changed

+17
-18
lines changed

5 files changed

+17
-18
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Contributions to libCEED are encouraged.
44
<!---
5-
Please use a pull request to the appropriate branch ('maint' for
6-
backward-compatible bug fixes for the last stable release, 'master' for
5+
Please use a pull request to the appropriate branch ('stable' for
6+
backward-compatible bug fixes for the last stable release, main' for
77
new features and everything else).
88
-->
99
Please make your commits well-organized and
@@ -41,7 +41,7 @@ email becomes inconsistent (look at `git shortlog -se`), please edit
4141
When contributors make a major contribution and support it, their names
4242
are included in the automatically generated user-manual documentation.
4343

44-
Please avoid "merging from upstream" (like merging 'master' into your
44+
Please avoid "merging from upstream" (like merging 'main' into your
4545
feature branch) unless there is a specific reason to do so, in which
4646
case you should explain why in the merge commit.
4747
[Rationale](https://lwn.net/Articles/328436/) from

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ libCEED: the CEED Library
33

44
|build-status| |codecov| |license| |doc| |doxygen| |binder|
55

6-
.. |build-status| image:: https://travis-ci.com/CEED/libCEED.svg?branch=master
6+
.. |build-status| image:: https://travis-ci.com/CEED/libCEED.svg?branch=main
77
:alt: Build Status
88
:scale: 100%
99
:target: https://travis-ci.com/CEED/libCEED
1010

11-
.. |codecov| image:: https://codecov.io/gh/CEED/libCEED/branch/master/graphs/badge.svg
11+
.. |codecov| image:: https://codecov.io/gh/CEED/libCEED/branch/main/graphs/badge.svg
1212
:alt: Code Coverage
1313
:scale: 100%
1414
:target: https://codecov.io/gh/CEED/libCEED/
@@ -31,7 +31,7 @@ libCEED: the CEED Library
3131
.. |binder| image:: http://mybinder.org/badge_logo.svg
3232
:alt: Binder
3333
:scale: 100%
34-
:target: https://mybinder.org/v2/gh/CEED/libCEED/master?urlpath=lab/tree/examples/tutorials/tutorial-0-ceed.ipynb
34+
:target: https://mybinder.org/v2/gh/CEED/libCEED/main?urlpath=lab/tree/examples/tutorials/tutorial-0-ceed.ipynb
3535

3636
Code for Efficient Extensible Discretization
3737
--------------------------------------------

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc
55

66
trigger:
7-
- master
7+
- main
88

99
pool:
1010
vmImage: 'Ubuntu-16.04'

doc/sphinx/source/libCEEDapi.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ Our long-term vision is to include a variety of backend implementations in
277277
libCEED, ranging from reference kernels to highly optimized kernels targeting
278278
specific devices (e.g. GPUs) or specific polynomial orders. A simple reference
279279
backend implementation is provided in the file
280-
`ceed-ref.c <https://github.com/CEED/libCEED/blob/master/backends/ref/ceed-ref.c>`_.
280+
`ceed-ref.c <https://github.com/CEED/libCEED/blob/main/backends/ref/ceed-ref.c>`_.
281281

282282
On the frontend, the mapping between the decomposition concepts and the code
283283
implementation is as follows:
@@ -298,7 +298,7 @@ implementation is as follows:
298298

299299
To clarify these concepts and illustrate how they are combined in the API,
300300
consider the implementation of the action of a simple 1D mass matrix
301-
(cf. `tests/t500-operator.c <https://github.com/CEED/libCEED/blob/master/tests/t500-operator.c>`_).
301+
(cf. `tests/t500-operator.c <https://github.com/CEED/libCEED/blob/main/tests/t500-operator.c>`_).
302302

303303
.. literalinclude:: ../../../tests/t500-operator.c
304304
:language: c
@@ -410,10 +410,9 @@ explicitly store **E-vectors** (inter-element continuity has been subsumed by
410410
the parallel restriction :math:`\bm{P}`), the element restriction :math:`\bm{G}`
411411
is the identity and :c:func:`CeedElemRestrictionCreateStrided()` is used instead.
412412
We plan to support other structured representations of :math:`\bm{G}` which will
413-
be added according to demand. In the case of non-conforming mesh elements,
414-
:math:`\bm{G}` needs a more general representation that expresses values at slave
415-
nodes (which do not appear in **L-vectors**) as linear combinations of the degrees of
416-
freedom at master nodes.
413+
be added according to demand.
414+
There are two common approaches for supporting non-conforming elements: applying the node constraints via :math:`\bm P` so that the **L-vector** can be processed uniformly and applying the constraintsss via :math:`\bm G` so that the **E-vector** is uniform.
415+
The former can be done with the existing interface while the latter will require a generalization to element restriction that would define field values at constrained nodes as linear combinations of the values at primary nodes.
417416

418417
These operations, :math:`\bm{P}`, :math:`\bm{B}`, and :math:`\bm{D}`,
419418
are combined with a :ref:`CeedOperator`. As with :ref:`CeedQFunction`\s, operator fields are added
@@ -481,7 +480,7 @@ The available QFunctions are the ones associated with the mass, the Laplacian, a
481480
the identity operators. To illustrate how the user can declare a :ref:`CeedQFunction`
482481
via the gallery of available QFunctions, consider the selection of the
483482
:ref:`CeedQFunction` associated with a simple 1D mass matrix
484-
(cf. `tests/t410-qfunction.c <https://github.com/CEED/libCEED/blob/master/tests/t410-qfunction.c>`_).
483+
(cf. `tests/t410-qfunction.c <https://github.com/CEED/libCEED/blob/main/tests/t410-qfunction.c>`_).
485484

486485
.. literalinclude:: ../../../tests/t410-qfunction.c
487486
:language: c

doc/sphinx/source/releasenotes.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Changes/Release Notes
44
On this page we provide a summary of the main API changes, new features and examples
55
for each release of libCEED.
66

7-
.. _master:
7+
.. _main:
88

9-
Current Master
9+
Current Main
1010
----------------------------------------
1111

12-
The current master branch contains bug fixes and interfaces changes.
12+
The current ``main`` branch contains bug fixes and interfaces changes.
1313

1414
Interface changes
1515
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -42,7 +42,7 @@ New features
4242
1-1 correspondence with the C interface, plus some convenience features. For instance,
4343
data stored in the :cpp:type:`CeedVector` structure are available without copy as
4444
:py:class:`numpy.ndarray`. Short tutorials are provided in
45-
`Binder <https://mybinder.org/v2/gh/CEED/libCEED/master?urlpath=lab/tree/examples/tutorials/>`_.
45+
`Binder <https://mybinder.org/v2/gh/CEED/libCEED/main?urlpath=lab/tree/examples/tutorials/>`_.
4646
* Linear QFunctions can be assembled as block-diagonal matrices (per quadrature point,
4747
:cpp:func:`CeedOperatorAssembleLinearQFunction`) or to evaluate the diagonal
4848
(:cpp:func:`CeedOperatorAssembleLinearDiagonal`). These operations are useful for

0 commit comments

Comments
 (0)