normalizationtype.h

来自「利用C」· C头文件 代码 · 共 28 行

H
28
字号
// Copyright (C) 2008 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added:  2008-05-23// Last changed: 2008-05-23#ifndef __NORMALIZATION_TYPE_H#define __NORMALIZATION_TYPE_Hnamespace dolfin{  /// Two different normalizations are available:  ///   /// l2norm:  Normalizes a vector x according to x --> x / ||x||  ///          where ||x|| is the l2 norm of x  ///  /// average: Normalizes a vector x according to x --> x - avg(x)  ///          where avg(x) is the average of x. This is useful to  ///          satisfy the compatibility condition for the Neumann  ///          problem.  enum NormalizationType {l2norm, average};}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?