seims.h 文件参考

The SEIMS related definitions and utilities header. 更多...

#include "data_raster.hpp"

浏览源代码.

宏定义

#define IntRaster   ccgl::data_raster::clsRasterData<int>
 Integer-typed raster
 
#define FloatRaster   ccgl::data_raster::clsRasterData<FLTPT, int>
 Float-typed raster with int-typed mask, specific for legacy SEIMS code
 

枚举

enum  LayeringMethod {
  UP_DOWN ,
  DOWN_UP
}
 Grid layering method for routing and parallel computing. 更多...
 
enum  FlowDirMethod {
  D8 ,
  Dinf ,
  MFDmd
}
 Flow direction method for flow routing. 更多...
 
enum  GroupMethod {
  KMETIS = 0 ,
  PMETIS = 1
}
 Group method for parallel task scheduling. 更多...
 
enum  ScheduleMethod {
  SPATIAL = 0 ,
  TEMPOROSPATIAL = 1
}
 Parallel task scheduling strategy at subbasin level by MPI. 更多...
 

变量

const int CCWDeltaRow [9] = { 0, 0, -1, -1, -1, 0, 1, 1, 1 }
 Delta Row (Y-axis) according to FlowDirCCW
 
const int CCWDeltaCol [9] = { 0, 1, 1, 0, -1, -1, -1, 0, 1 }
 Delta Col (X-axis) according to FlowDirCCW
 
const FLTPT _pi = 3.14159265358979323846
 Common used const. 更多...
 
const FLTPT _1div3 = 0.3333333333333333
 
const FLTPT _2div3 = 0.6666666666666666
 
const FLTPT _8div3 = 2.6666666666666665
 
const FLTPT SQ2 = 1.4142135623730951
 sqrt(2.0)
 
const FLTPT deg2rad = 0.017453292519943295
 PI / 180.
 
const FLTPT rad2deg = 57.29577951308232
 
const FLTPT MIN_FLUX = 1e-12
 PI * 2 / 365; 更多...
 
const int MAX_ITERS_KW = 10
 maximum iterate number in kinematic wave method
 
const FLTPT MIN_SLOPE = 1e-4
 minimum slope (tan value)
 

详细描述

The SEIMS related definitions and utilities header.

Changelog:

  • 1. 2017-03-22 - lj - Initial implementation.
  • 2. 2021-04-06 - lj - Add Flow direction method enum.
作者
Liang-Jun Zhu
日期
2017-3-22

变量说明

◆ _1div3

const FLTPT _1div3 = 0.3333333333333333
  1. / 3.

◆ _2div3

const FLTPT _2div3 = 0.6666666666666666
  1. / 3.

◆ _8div3

const FLTPT _8div3 = 2.6666666666666665
  1. / 3.

◆ _pi

const FLTPT _pi = 3.14159265358979323846

Common used const.

PI

◆ MIN_FLUX

const FLTPT MIN_FLUX = 1e-12

PI * 2 / 365;

minimum flux (m3/s) in kinematic wave

◆ rad2deg

const FLTPT rad2deg = 57.29577951308232
  1. / PI