Reconstruction Class Reference

To perform various reconstruction operations. More...

#include <Reconstruction.h>

Public Member Functions

 Reconstruction ()
 Default constructor.
 
 Reconstruction (const Mesh &ms)
 Constructor using a refrence to a Mesh instance.
 
 ~Reconstruction ()
 Destructor.
 
void setMesh (const Mesh &ms)
 Provide Mesh instance.
 
void P0toP1 (const Vect< real_t > &u, Vect< real_t > &v)
 Smooth an elementwise field to obtain a nodewise field by L2 projection.
 
void DP1toP1 (const Vect< real_t > &u, Vect< real_t > &v)
 Smooth a discontinuous P1 field to obtain a nodewise (Continuous P1) field by L2 projection.
 

Detailed Description

To perform various reconstruction operations.

This class enables various reconstruction operations like smoothing, projections, ...

Author
Rachid Touzani

Member Function Documentation

◆ DP1toP1()

void DP1toP1 ( const Vect< real_t > &  u,
Vect< real_t > &  v 
)

Smooth a discontinuous P1 field to obtain a nodewise (Continuous P1) field by L2 projection.

Parameters
[in]uVect instance that contains field to smooth
[out]vVect instance that contains on output smoothed field
Warning
This function is valid for P1 triangles (2-D) only.

◆ P0toP1()

void P0toP1 ( const Vect< real_t > &  u,
Vect< real_t > &  v 
)

Smooth an elementwise field to obtain a nodewise field by L2 projection.

Parameters
[in]uVect instance that contains field to smooth
[out]vVect instance that contains on output smoothed field