Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

### Unreleased (on current HEAD of the Projection branch)
- None
## Added
- Geoid offset nodal attribute in `Calc_f13` subroutine. https://github.com/CHLNDDEV/OceanMesh2D/pull/251

### [5.0.0] - 2021-07-29
## Added
Expand Down
5 changes: 5 additions & 0 deletions utilities/Calc_f13.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
% 'Ad' ('advection_state')
% 'Sb' ('subgrid_barrier')
% 'Es' ('elemental_slope_limiter')
% 'Ge' ('sea_surface_height_above_geoid')
%
%
% 3) then either:
% 'inpoly' followed by...
Expand Down Expand Up @@ -59,6 +61,9 @@
elseif strcmpi(attribute,'Es')
attrname = 'elemental_slope_limiter';
default_val = -1e-3;
elseif strcmpi(attribute,'Ge')
attrname = 'sea_surface_height_above_geoid';
default_val = 0.0;
else
error(['Attribute ' attribute ' not currently supported'])
end
Expand Down