stroid v0.6.0
Multi-block curvilinear mesh generation
Loading...
Searching...
No Matches
stroid::utils Namespace Reference

Mesh inspection and validation utilities. More...

Namespaces

namespace  term_support
 

Functions

void MarkFlippedElements (mfem::Mesh &mesh)
 Mark elements with negative Jacobian determinant.
 
void MarkFlippedBoundaryElements (mfem::Mesh &mesh)
 Mark boundary elements whose outward normal orientation is flipped.
 
void ExportJacobianRadialProfile (mfem::Mesh &mesh, const std::string &filename)
 
std::unique_ptr< mfem::Mesh > BuildProjected (const mfem::Mesh &reference, const fourdst::config::Config< config::MeshConfig > &cfg)
 

Detailed Description

Mesh inspection and validation utilities.

Function Documentation

◆ BuildProjected()

std::unique_ptr< mfem::Mesh > stroid::utils::BuildProjected ( const mfem::Mesh & reference,
const fourdst::config::Config< config::MeshConfig > & cfg )

◆ ExportJacobianRadialProfile()

void stroid::utils::ExportJacobianRadialProfile ( mfem::Mesh & mesh,
const std::string & filename )

◆ MarkFlippedBoundaryElements()

void stroid::utils::MarkFlippedBoundaryElements ( mfem::Mesh & mesh)

Mark boundary elements whose outward normal orientation is flipped.

Boundary elements detected as flipped are assigned attribute 500.

Parameters
meshMesh to scan and update in-place.

◆ MarkFlippedElements()

void stroid::utils::MarkFlippedElements ( mfem::Mesh & mesh)

Mark elements with negative Jacobian determinant.

Elements detected as flipped are assigned attribute 999.

Parameters
meshMesh to scan and update in-place.