Skip to content

Commit

Permalink
Merge #1473
Browse files Browse the repository at this point in the history
1473: Fix lists in docs r=simonbyrne a=Sbozzolo

In the flavor of markdown used by Documenter

```
- ABC 
DEF
```
renders differently than

```
- ABC 
  DEF
```
For long lists, we want the second to avoid items that belong to the same item to be split new paragraphs.



Co-authored-by: Gabriele Bozzola <[email protected]>
  • Loading branch information
bors[bot] and Sbozzolo authored Oct 4, 2023
2 parents 5dbe4d7 + 11accb9 commit d2c524b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions docs/src/math_framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ _Vector_ can mean a few things depending on context:

- In Julia, a `Vector` is just an ordered collection of values (i.e., a container).
- In mathematics, a vector is an element of a _vector space_: a set of objects,
which may be added together and multiplied by a scalar.
- In physics, a vector typically refers to a directional quantity: that is
something with both a _direction_ and a _magnitude_. This is the best way to
think of vectors in ClimaCore,jl.
which may be added together and multiplied by a scalar.
- In physics, a vector typically refers to a directional quantity: that
something with both a _direction_ and a _magnitude_. This is the best way to
think of vectors in ClimaCore.jl.

A _vector field_ is then a vector-valued field: that is an assignment of a
vector to each point in a space. For instance, a vector field in the plane can
Expand All @@ -32,10 +32,12 @@ in orthogonal (Cartesian) and curvilinear coordinate systems.

The easiest basis to use is the "UVW" basis, which can be defined in both Cartesian
or spherical domains:

- in a Cartesian domain, it is the usual Cartesian orthogonal vector basis
(U along the X-axis, V along the Y-axis, W along the Z-axis).
(U along the X-axis, V along the Y-axis, W along the Z-axis).

- in a spherical domain, it is the orthogonal basis relative to spherical
(curvilinear) coordinates:
(curvilinear) coordinates:
- U is the zonal (eastward) component
- V is the meridonal (northward) component
- W is the radial component
Expand Down
2 changes: 1 addition & 1 deletion docs/src/operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CurrentModule = ClimaCore.Operators
_Operators_ can compute spatial derivative operations.

- for performance reasons, we need to be able to "fuse" multiple operators and
function applications
function applications
- Julia provides a tool for this: **broadcasting**, with a very flexible API

Can think of operators are "pseudo-functions": can't be called directly, but
Expand Down

0 comments on commit d2c524b

Please sign in to comment.