NEMoSys  0.63.0
A modular, extensible resource with robust automated mesh generation, mesh quality analysis, adaptive mesh refinement, and data transfer between arbitrary meshes.
NEM::DRV::OmegahRefineDriver::VarCompare Struct Reference

Detailed Description

Definition at line 53 of file OmegahRefineDriver.H.

Public Member Functions

 VarCompare (std::string integralName)
 

Public Attributes

std::string integralName
 
std::string type
 NONE, RELATIVE, or ABSOLUTE comparison of data. More...
 
Omega_h::Real tolerance
 tolerance threshold for comparison More...
 
Omega_h::Real floor
 RELATIVE: values below floor snap to 0.0. More...
 

Private Member Functions

 VarCompare ()=default
 

Inherits NEM::SRV::omegahRefineVarCompareOpts.

Constructor & Destructor Documentation

◆ VarCompare() [1/2]

NEM::DRV::OmegahRefineDriver::VarCompare::VarCompare ( std::string  integralName)
explicit

Definition at line 42 of file OmegahRefineDriver.C.

References NEM::SRV::omegahRefineVarCompareOpts::floor, NEM::SRV::omegahRefineVarCompareOpts::tolerance, and NEM::SRV::omegahRefineVarCompareOpts::type.

43  : integralName(std::move(integralName)) {
44  // Default values from Omega_h::VarCompareOpts::defaults()
45  this->type = "Relative";
46  this->tolerance = 1e-6;
47  this->floor = 0.;
48 }
std::string type
NONE, RELATIVE, or ABSOLUTE comparison of data.
Omega_h::Real floor
RELATIVE: values below floor snap to 0.0.
Omega_h::Real tolerance
tolerance threshold for comparison

◆ VarCompare() [2/2]

NEM::DRV::OmegahRefineDriver::VarCompare::VarCompare ( )
privatedefault

Member Data Documentation

◆ floor

Omega_h::Real NEM::SRV::omegahRefineVarCompareOpts::floor
inherited

Definition at line 85 of file omegahRefineSrv.H.

Referenced by VarCompare().

◆ integralName

std::string NEM::DRV::OmegahRefineDriver::VarCompare::integralName

Definition at line 55 of file OmegahRefineDriver.H.

◆ tolerance

Omega_h::Real NEM::SRV::omegahRefineVarCompareOpts::tolerance
inherited

Definition at line 84 of file omegahRefineSrv.H.

Referenced by VarCompare().

◆ type

std::string NEM::SRV::omegahRefineVarCompareOpts::type
inherited

Definition at line 83 of file omegahRefineSrv.H.

Referenced by VarCompare().


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