Class for 3-D hyperbolic solvers with Muscl scheme using tetrahedra. More...

#include <Muscl3DT.h>

Inheritance diagram for Muscl3DT:
Muscl ICPG3DT LCL3DT

Public Member Functions

 Muscl3DT (Mesh &m)
 Constructor using mesh.
 
 ~Muscl3DT ()
 Destructor.
 
bool setReconstruction (const Vect< real_t > &U, Vect< real_t > &LU, Vect< real_t > &RU, size_t dof)
 Function to reconstruct by the Muscl method.
 
real_t getMinimumFaceArea () const
 Return minimum area of faces in the mesh.
 
real_t getMinimumElementVolume () const
 Return minimum volume of elements in the mesh.
 
real_t getMaximumFaceArea () const
 Return maximum area of faces in the mesh.
 
real_t getMaximumElementVolume () const
 Return maximum volume of elements in the mesh.
 
real_t getMeanFaceArea () const
 Return mean area of faces in the mesh.
 
real_t getMeanElementVolume () const
 Return mean volume of elements in the mesh.
 
real_t getMinimumEdgeLength () const
 Return minimum length of edges in the mesh.
 
real_t getMinimumVolumebyArea () const
 Return minimum volume by area in the mesh.
 
real_t getMaximumEdgeLength () const
 Return maximum length of edges in the mesh.
 
real_t getTauLim () const
 Return value of tau lim.
 
real_t getComega () const
 Return value of Comega.
 
void setbetalim (real_t bl)
 Assign value of beta lim.
 
- Public Member Functions inherited from Muscl
 Muscl (Mesh &m)
 Constructor using mesh instance.
 
virtual ~Muscl ()
 Destructor.
 
void setTimeStep (real_t dt)
 Assign time step value.
 
real_t getTimeStep () const
 Return time step value.
 
void setCFL (real_t CFL)
 Assign CFL value.
 
real_t getCFL () const
 Return CFL value.
 
void setReferenceLength (real_t dx)
 Assign reference length value.
 
real_t getReferenceLength () const
 Return reference length.
 
MeshgetMesh () const
 Return reference to Mesh instance.
 
void setVerbose (int v)
 Set verbosity parameter.
 
bool setReconstruction (const Vect< real_t > &U, Vect< real_t > &LU, Vect< real_t > &RU, size_t dof)
 Function to reconstruct by the Muscl method.
 
void setMethod (const Method &s)
 Choose a flux solver.
 
void setSolidZoneCode (int c)
 Choose a code for solid zone.
 
bool getSolidZone () const
 Return flag for presence of solid zones.
 
int getSolidZoneCode () const
 Return code of solid zone, 0 if this one is not present.
 
void setLimiter (Limiter l)
 Choose a flux limiter.
 

Additional Inherited Members

- Public Types inherited from Muscl
enum  Method {
  FIRST_ORDER_METHOD = 0 ,
  MULTI_SLOPE_Q_METHOD = 1 ,
  MULTI_SLOPE_M_METHOD = 2
}
 Enumeration for flux choice. More...
 
enum  Limiter {
  MINMOD_LIMITER = 0 ,
  VANLEER_LIMITER = 1 ,
  SUPERBEE_LIMITER = 2 ,
  VANALBADA_LIMITER = 3 ,
  MAX_LIMITER = 4
}
 Enumeration of flux limiting methods. More...
 
enum  SolverType {
  ROE_SOLVER = 0 ,
  VFROE_SOLVER = 1 ,
  LF_SOLVER = 2 ,
  RUSANOV_SOLVER = 3 ,
  HLL_SOLVER = 4 ,
  HLLC_SOLVER = 5 ,
  MAX_SOLVER = 6
}
 Enumeration of various solvers for the Riemann problem. More...
 

Detailed Description

Class for 3-D hyperbolic solvers with Muscl scheme using tetrahedra.

Author
S. Clain, V. Clauzon

Member Function Documentation

◆ setReconstruction()

bool setReconstruction ( const Vect< real_t > &  U,
Vect< real_t > &  LU,
Vect< real_t > &  RU,
size_t  dof 
)

Function to reconstruct by the Muscl method.

Parameters
[in]UField to reconstruct
[out]LULeft gradient vector
[out]RURight gradient vector
[in]dofLabel of dof to reconstruct