Back to index

salome-smesh  6.5.0
Public Member Functions | Static Public Member Functions | Public Attributes
VISCOUS::_Curvature Struct Reference

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

List of all members.

Public Member Functions

double lenDelta (double len) const

Static Public Member Functions

static _CurvatureNew (double avgNormProj, double avgDist)

Public Attributes

double _r
double _k

Detailed Description

Structure used to take into account surface curvature while smoothing.

Definition at line 255 of file StdMeshers_ViscousLayers.cxx.


Member Function Documentation

double VISCOUS::_Curvature::lenDelta ( double  len) const [inline]

Definition at line 272 of file StdMeshers_ViscousLayers.cxx.

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

Definition at line 260 of file StdMeshers_ViscousLayers.cxx.

    {
      _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;
    }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 258 of file StdMeshers_ViscousLayers.cxx.

Definition at line 257 of file StdMeshers_ViscousLayers.cxx.


The documentation for this struct was generated from the following file: