Back to index

salome-med  6.5.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes
INTERP_KERNEL::Interpolation2D1D Class Reference

Contrary to its name this class deals with 1D mesh in source and 2D mesh in target. More...

#include <Interpolation2D1D.hxx>

Inheritance diagram for INTERP_KERNEL::Interpolation2D1D:
Inheritance graph
[legend]
Collaboration diagram for INTERP_KERNEL::Interpolation2D1D:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::map< int,
std::set< int > > 
DuplicateFacesType

Public Member Functions

 Interpolation2D1D ()
 Interpolation2D1D (const InterpolationOptions &io)
template<class MyMeshType , class MatrixType >
int interpolateMeshes (const MyMeshType &meshS, const MyMeshType &meshT, MatrixType &result, const char *method)
DuplicateFacesType retrieveDuplicateFaces () const
int interpolateMeshes (const MyMeshType &meshS, const MyMeshType &meshT, MatrixType &result)
int fromIntegralUniform (const MyMeshType &meshT, MatrixType &result, const char *method)
int toIntegralUniform (const MyMeshType &meshS, MatrixType &result, const char *method)

Static Public Member Functions

static void checkAndSplitInterpolationMethod (const char *method, std::string &srcMeth, std::string &trgMeth) throw (INTERP_KERNEL::Exception)
static double CalculateCharacteristicSizeOfMeshes (const MyMeshType &myMeshS, const MyMeshType &myMeshT, const int printLevel)

Protected Member Functions

int fromToIntegralUniform (bool fromTo, const MyMeshType &mesh, MatrixType &result, const char *method)
Interpolation2D1DasLeaf ()

Private Attributes

DuplicateFacesType _duplicate_faces
double _dim_caracteristic

Detailed Description

Contrary to its name this class deals with 1D mesh in source and 2D mesh in target.

The meshdim of 'MyMeshType' in input is ignored that's why 'meshS' and 'meshT' have the same type. '_duplicate_faces' attribute stores duplicated faces in the following format. The key of '_duplicate_faces' represents the 1D cellId that is shared by more than one 2D target cell, and the value of '_duplicate_faces' the 2D target cells. The size of the value of '_duplicate_faces' is more than or equal to 2.

Definition at line 39 of file Interpolation2D1D.hxx.


Member Typedef Documentation

typedef std::map<int,std::set<int> > INTERP_KERNEL::Interpolation2D1D::DuplicateFacesType

Definition at line 42 of file Interpolation2D1D.hxx.


Constructor & Destructor Documentation

Definition at line 44 of file Interpolation2D1D.hxx.

{ setOrientation(2); }

Definition at line 45 of file Interpolation2D1D.hxx.

:Interpolation<Interpolation2D1D>(io) { }

Member Function Documentation

Interpolation2D1D & INTERP_KERNEL::Interpolation< Interpolation2D1D >::asLeaf ( ) [inline, protected, inherited]

Definition at line 52 of file Interpolation.hxx.

{ return static_cast<TrueMainInterpolator&>(*this); }
static double INTERP_KERNEL::Interpolation< Interpolation2D1D >::CalculateCharacteristicSizeOfMeshes ( const MyMeshType &  myMeshS,
const MyMeshType &  myMeshT,
const int  printLevel 
) [static, inherited]
static void INTERP_KERNEL::Interpolation< Interpolation2D1D >::checkAndSplitInterpolationMethod ( const char *  method,
std::string &  srcMeth,
std::string &  trgMeth 
) throw (INTERP_KERNEL::Exception) [static, inherited]
int INTERP_KERNEL::Interpolation< Interpolation2D1D >::fromIntegralUniform ( const MyMeshType &  meshT,
MatrixType &  result,
const char *  method 
) [inline, inherited]

Definition at line 42 of file Interpolation.hxx.

{ return fromToIntegralUniform(false,meshT,result,method); }
int INTERP_KERNEL::Interpolation< Interpolation2D1D >::fromToIntegralUniform ( bool  fromTo,
const MyMeshType &  mesh,
MatrixType &  result,
const char *  method 
) [protected, inherited]
int INTERP_KERNEL::Interpolation< Interpolation2D1D >::interpolateMeshes ( const MyMeshType &  meshS,
const MyMeshType &  meshT,
MatrixType &  result 
) [inline, inherited]

Definition at line 39 of file Interpolation.hxx.

    { return asLeaf().interpolateMeshes(meshS,meshT,result); }
template<class MyMeshType , class MatrixType >
int INTERP_KERNEL::Interpolation2D1D::interpolateMeshes ( const MyMeshType &  meshS,
const MyMeshType &  meshT,
MatrixType &  result,
const char *  method 
)

Here is the caller graph for this function:

Definition at line 51 of file Interpolation2D1D.hxx.

    {
      return _duplicate_faces;
    }

Here is the caller graph for this function:

int INTERP_KERNEL::Interpolation< Interpolation2D1D >::toIntegralUniform ( const MyMeshType &  meshS,
MatrixType &  result,
const char *  method 
) [inline, inherited]

Definition at line 44 of file Interpolation.hxx.

{ return fromToIntegralUniform(true,meshS,result,method); }

Member Data Documentation

Definition at line 58 of file Interpolation2D1D.hxx.

Definition at line 56 of file Interpolation2D1D.hxx.


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