Skip to content

Commit

Permalink
Fix lists in docs
Browse files Browse the repository at this point in the history
- ABC
DEF

renders differently than

- ABC
  DEF

in markdown. For long lists, we want the second
  • Loading branch information
Sbozzolo committed Sep 25, 2023
1 parent 5215d8d commit 11accb9
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 11accb9

Please sign in to comment.