Version: 6.3.1
Public Member Functions | Static Public Member Functions | Data Fields

VISCOUS._Curvature Struct Reference

Structure used to take into account surface curvature while smoothing. More...

Public Member Functions

double lenDelta (double len) const

Static Public Member Functions

static _CurvatureNew (double avgNormProj, double avgDist)

Data Fields

double _r
double _k

Detailed Description

Structure used to take into account surface curvature while smoothing.

Definition at line 243 of file StdMeshers_ViscousLayers.cxx.


Member Function Documentation

double VISCOUS._Curvature.lenDelta ( double  len) const

Definition at line 260 of file StdMeshers_ViscousLayers.cxx.

{ return _k * ( _r + len ); }
static _Curvature* VISCOUS._Curvature.New ( double  avgNormProj,
double  avgDist 
) [static]

Definition at line 248 of file StdMeshers_ViscousLayers.cxx.

References VISCOUS._Curvature._k, and VISCOUS._Curvature._r.

    {
      _Curvature* c = 0;
      if ( fabs( avgNormProj / avgDist ) > 1./200 )
      {
        c = new _Curvature;
        c->_r = avgDist * avgDist / avgNormProj;
        c->_k = avgDist * avgDist / c->_r / c->_r;
        c->_k *= ( c->_r < 0 ? 1/1.1 : 1.1 ); // not to be too restrictive
      }
      return c;
    }

Field Documentation

Definition at line 246 of file StdMeshers_ViscousLayers.cxx.

Referenced by VISCOUS._Curvature.New().

Definition at line 245 of file StdMeshers_ViscousLayers.cxx.

Referenced by VISCOUS._Curvature.New().

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS