Back to index

salome-med  6.5.0
Public Member Functions | Public Attributes | Static Public Attributes
MED::TSeg2a Struct Reference

#include <MED_GaussUtils.hxx>

Inheritance diagram for MED::TSeg2a:
Inheritance graph
Collaboration diagram for MED::TSeg2a:
Collaboration graph

List of all members.

Public Member Functions

 TSeg2a ()
virtual void InitFun (const TCCoordSliceArr &theRef, const TCCoordSliceArr &theGauss, TFun &theFun) const

Public Attributes

TInt myNbRef
TDoubleVector myRefCoord

Static Public Attributes

TInt myDim

Detailed Description

Definition at line 165 of file MED_GaussUtils.hxx.

Constructor & Destructor Documentation

Definition at line 356 of file MED_GaussUtils.cxx.

    TInt aNbRef = GetNbRef();
    for(TInt aRefId = 0; aRefId < aNbRef; aRefId++){
      TCoordSlice aCoord = GetCoord(aRefId);
      case  0: aCoord[0] = -1.0; break;
      case  1: aCoord[0] =  1.0; break;

Here is the call graph for this function:

Member Function Documentation

void MED::TSeg2a::InitFun ( const TCCoordSliceArr theRef,
const TCCoordSliceArr theGauss,
TFun &  theFun 
) const [virtual]

Definition at line 369 of file MED_GaussUtils.cxx.


    TInt aNbGauss = theGauss.size();
    for(TInt aGaussId = 0; aGaussId < aNbGauss; aGaussId++){
      const TCCoordSlice& aCoord = theGauss[aGaussId];
      TFloatVecSlice aSlice = theFun.GetFunSlice(aGaussId);

      aSlice[0] = 0.5*(1.0 - aCoord[0]);
      aSlice[1] = 0.5*(1.0 + aCoord[0]);

Member Data Documentation

TInt TShapeFun::myDim [static, inherited]

Definition at line 42 of file MEDMEM_GaussLocalization.cxx.

TInt TShapeFun::myNbRef [inherited]

Definition at line 43 of file MEDMEM_GaussLocalization.cxx.

TDoubleVector TShapeFun::myRefCoord [inherited]

Definition at line 44 of file MEDMEM_GaussLocalization.cxx.

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