A service to use the Omega_h library for refinement. More...
Definition at line 92 of file omegahRefineSrv.H.
Public Member Functions | |
vtkGetMacro (Verbose, bool) | |
vtkBooleanMacro (Verbose, bool) | |
vtkSetMacro (MinLengthDesired, Omega_h::Real) | |
Specify the minimum desired length. More... | |
vtkGetMacro (MinLengthDesired, Omega_h::Real) | |
void | AddTransferOpts (const std::string &name, Omega_h_Transfer method, const std::string &integral_name="") |
Add a field to be transferred. More... | |
void | AddTransferOptsIntegralDiffuse (const std::string &integral_name, const std::string &type, Omega_h::Real tolerance, Omega_h::Real floor) |
When specifying integral quantities, set tolerances. More... | |
void | AddMetricSource (Omega_h_Source type, Omega_h::Real knob=1.0, std::string tag_name="", Omega_h_Isotropy isotropy=OMEGA_H_ANISOTROPIC, Omega_h_Scales scales=OMEGA_H_SCALES) |
Add a source to the metric input. More... | |
vtkSetMacro (ShouldLimitLengths, bool) | |
Specify if the metrics should limit the edge lengths. More... | |
vtkGetMacro (ShouldLimitLengths, bool) | |
vtkBooleanMacro (ShouldLimitLengths, bool) | |
vtkSetMacro (MaxLength, Omega_h::Real) | |
Specify the maximum length of the edges allowed by the metrics. More... | |
vtkGetMacro (MaxLength, Omega_h::Real) | |
vtkSetMacro (MinLength, Omega_h::Real) | |
Specify the minimum length of the edges allowed by the metrics. More... | |
vtkGetMacro (MinLength, Omega_h::Real) | |
vtkSetMacro (ShouldLimitGradation, bool) | |
Specify if the metrics should limit the gradation rate. More... | |
vtkGetMacro (ShouldLimitGradation, bool) | |
vtkBooleanMacro (ShouldLimitGradation, bool) | |
vtkSetMacro (MaxGradationRate, Omega_h::Real) | |
Specify the maximum gradation rate allowed by the metrics. More... | |
vtkGetMacro (MaxGradationRate, Omega_h::Real) | |
vtkSetMacro (GradationConvergenceTolerance, Omega_h::Real) | |
Specify the tolerance used when limiting the gradation rate in the metrics. More... | |
vtkGetMacro (GradationConvergenceTolerance, Omega_h::Real) | |
vtkSetMacro (ShouldLimitElementCount, bool) | |
Specify if the metrics should limit the element count. More... | |
vtkGetMacro (ShouldLimitElementCount, bool) | |
vtkBooleanMacro (ShouldLimitElementCount, bool) | |
vtkSetMacro (MaxElementCount, Omega_h::Real) | |
Specify the maximum element count allowed by the metrics. More... | |
vtkGetMacro (MaxElementCount, Omega_h::Real) | |
vtkSetMacro (MinElementCount, Omega_h::Real) | |
Specify the minimum element count allowed by the metrics. More... | |
vtkGetMacro (MinElementCount, Omega_h::Real) | |
vtkSetMacro (ElementCountOverRelaxation, Omega_h::Real) | |
Specify the over relaxation tolerance when limiting the element count. More... | |
vtkGetMacro (ElementCountOverRelaxation, Omega_h::Real) | |
vtkSetMacro (NsmoothingSteps, Omega_h::Int) | |
Specify the number of smoothing steps when generating the metric. More... | |
vtkGetMacro (NsmoothingSteps, Omega_h::Int) | |
vtkSetMacro (MaxLengthDesired, Omega_h::Real) | |
Specify the maximum desired length. More... | |
vtkGetMacro (MaxLengthDesired, Omega_h::Real) | |
vtkSetMacro (MaxLengthAllowed, Omega_h::Real) | |
Specify the maximum allowed length. More... | |
vtkGetMacro (MaxLengthAllowed, Omega_h::Real) | |
vtkSetMacro (MinQualityAllowed, Omega_h::Real) | |
Specify the minimum allowed length. More... | |
vtkGetMacro (MinQualityAllowed, Omega_h::Real) | |
vtkSetMacro (MinQualityDesired, Omega_h::Real) | |
Specify the minimum desired quality. More... | |
vtkGetMacro (MinQualityDesired, Omega_h::Real) | |
vtkSetMacro (NsliverLayers, Omega_h::Int) | |
Specify the number of sliver layers. More... | |
vtkGetMacro (NsliverLayers, Omega_h::Int) | |
vtkSetMacro (Verbosity, const std::string &) | |
Specify the verbosity of the adaptation method. More... | |
vtkGetMacro (Verbosity, const std::string &) | |
vtkSetMacro (LengthHistogramMin, Omega_h::Real) | |
Specify the minimum depth of the length histogram. More... | |
vtkGetMacro (LengthHistogramMin, Omega_h::Real) | |
vtkSetMacro (LengthHistogramMax, Omega_h::Real) | |
Specify the maximum depth of the length histogram. More... | |
vtkGetMacro (LengthHistogramMax, Omega_h::Real) | |
vtkSetMacro (NlengthHistogramBins, Omega_h::Int) | |
Specify the number of bins in the length histogram. More... | |
vtkGetMacro (NlengthHistogramBins, Omega_h::Int) | |
vtkSetMacro (NqualityHistogramBins, Omega_h::Int) | |
Specify the number of bins in the quality histogram. More... | |
vtkGetMacro (NqualityHistogramBins, Omega_h::Int) | |
vtkSetMacro (ShouldRefine, bool) | |
Specify if adapt should refine elements. More... | |
vtkGetMacro (ShouldRefine, bool) | |
vtkBooleanMacro (ShouldRefine, bool) | |
vtkSetMacro (ShouldCoarsen, bool) | |
Specify if adapt should coarsen elements. More... | |
vtkGetMacro (ShouldCoarsen, bool) | |
vtkBooleanMacro (ShouldCoarsen, bool) | |
vtkSetMacro (ShouldSwap, bool) | |
Specify if adapt should swap elements. More... | |
vtkGetMacro (ShouldSwap, bool) | |
vtkBooleanMacro (ShouldSwap, bool) | |
vtkSetMacro (ShouldCoarsenSlivers, bool) | |
Specify if adapt should coarsen slivers. More... | |
vtkGetMacro (ShouldCoarsenSlivers, bool) | |
vtkBooleanMacro (ShouldCoarsenSlivers, bool) | |
vtkSetMacro (ShouldPreventCoarsenFlip, bool) | |
Specify if adapt should prevent coarsen flips. More... | |
vtkGetMacro (ShouldPreventCoarsenFlip, bool) | |
vtkBooleanMacro (ShouldPreventCoarsenFlip, bool) | |
vtkAbstractTypeMacro(srvBase, vtkAlgorithm) public NEM::MSH::geoMeshBase * | GetOutput () |
Get the output GeoMeshBase for a port on this algorithm. More... | |
NEM::MSH::geoMeshBase * | GetOutput (int) |
Static Public Member Functions | |
static omegahRefineSrv * | New () |
Public Attributes | |
bool | |
Protected Member Functions | |
omegahRefineSrv () | |
~omegahRefineSrv () override | |
int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override |
This is called by the superclass. More... | |
int | FillInputPortInformation (int port, vtkInformation *info) override |
int | FillOutputPortInformation (int port, vtkInformation *info) override |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
This is called by the superclass. More... | |
virtual int | RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
This is called by the superclass. More... | |
Private Attributes | |
bool | Verbose {true} |
std::vector< omegahRefineMetricSource > | MetricSources |
bool | ShouldLimitLengths {false} |
Omega_h::Real | MaxLength {-1.0} |
Omega_h::Real | MinLength {-1.0} |
bool | ShouldLimitGradation {false} |
Omega_h::Real | MaxGradationRate {-1.0} |
Omega_h::Real | GradationConvergenceTolerance {-1.0} |
bool | ShouldLimitElementCount {false} |
Omega_h::Real | MaxElementCount {-1.0} |
Omega_h::Real | MinElementCount {-1.0} |
Omega_h::Real | ElementCountOverRelaxation {-1.0} |
Omega_h::Int | NsmoothingSteps {-1} |
Omega_h::Real | MinLengthDesired {-1.0} |
Omega_h::Real | MaxLengthDesired {-1.0} |
Omega_h::Real | MaxLengthAllowed {-1.0} |
Omega_h::Real | MinQualityAllowed {-1.0} |
Omega_h::Real | MinQualityDesired {-1.0} |
Omega_h::Int | NsliverLayers {-1} |
std::string | Verbosity {"Each Rebuild"} |
Omega_h::Real | LengthHistogramMin {-1.0} |
Omega_h::Real | LengthHistogramMax {-1.0} |
Omega_h::Int | NlengthHistogramBins {-1} |
Omega_h::Int | NqualityHistogramBins {-1} |
bool | ShouldRefine {true} |
bool | ShouldCoarsen {true} |
bool | ShouldSwap {true} |
bool | ShouldCoarsenSlivers {true} |
bool | ShouldPreventCoarsenFlip {false} |
std::map< std::string, Omega_h_Transfer > | TransferOptsTypeMap |
std::map< std::string, std::string > | TransferOptsIntegralMap |
std::map< std::string, omegahRefineVarCompareOpts > | TransferOptsIntegralDiffuseMap |
Inherits NEM::SRV::srvBase.
|
protected |
|
overrideprotected |
Definition at line 79 of file omegahRefineSrv.C.
|
inline |
Definition at line 115 of file omegahRefineSrv.H.
|
overrideprotected |
Definition at line 83 of file omegahRefineSrv.C.
|
overrideprotected |
Definition at line 89 of file omegahRefineSrv.C.
|
inherited |
Definition at line 104 of file srvBase.C.
|
inherited |
|
static |
|
overrideprotectedvirtual |
This is the method you should override.
Implements NEM::SRV::srvBase.
Definition at line 95 of file omegahRefineSrv.C.
References ElementCountOverRelaxation, NEM::MSH::oshGeoMesh::getOshMesh(), GradationConvergenceTolerance, LengthHistogramMax, LengthHistogramMin, MaxElementCount, MaxGradationRate, MaxLength, MaxLengthAllowed, MaxLengthDesired, MetricSources, MinElementCount, MinLength, MinLengthDesired, MinQualityAllowed, MinQualityDesired, NlengthHistogramBins, NqualityHistogramBins, NsliverLayers, NsmoothingSteps, NEM::SRV::ParseVarCompareOpts(), NEM::SRV::ParseVerbosity(), ShouldCoarsen, ShouldCoarsenSlivers, ShouldLimitElementCount, ShouldLimitGradation, ShouldLimitLengths, ShouldPreventCoarsenFlip, ShouldRefine, ShouldSwap, TransferOptsIntegralDiffuseMap, TransferOptsIntegralMap, TransferOptsTypeMap, Verbose, and Verbosity.
|
protectedvirtualinherited |
Definition at line 110 of file srvBase.C.
References NEM::MSH::gmshGeoMesh::New(), NEM::MSH::vtkGeoMesh::New(), NEM::MSH::smeshGeoMesh::New(), NEM::MSH::foamGeoMesh::New(), NEM::MSH::exoGeoMesh::New(), NEM::MSH::inpGeoMesh::New(), and NEM::MSH::oshGeoMesh::New().
Referenced by NEM::SRV::srvBase::~srvBase().
|
protectedvirtualinherited |
Definition at line 97 of file srvBase.C.
Referenced by NEM::SRV::srvBase::~srvBase().
|
protectedvirtualinherited |
NEM::SRV::omegahRefineSrv::vtkBooleanMacro | ( | ShouldLimitLengths | , |
bool | |||
) |
NEM::SRV::omegahRefineSrv::vtkBooleanMacro | ( | ShouldLimitGradation | , |
bool | |||
) |
NEM::SRV::omegahRefineSrv::vtkBooleanMacro | ( | ShouldLimitElementCount | , |
bool | |||
) |
NEM::SRV::omegahRefineSrv::vtkGetMacro | ( | ShouldLimitLengths | , |
bool | |||
) |
NEM::SRV::omegahRefineSrv::vtkGetMacro | ( | MaxLength | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkGetMacro | ( | MinLength | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkGetMacro | ( | ShouldLimitGradation | , |
bool | |||
) |
NEM::SRV::omegahRefineSrv::vtkGetMacro | ( | MaxGradationRate | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkGetMacro | ( | GradationConvergenceTolerance | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkGetMacro | ( | ShouldLimitElementCount | , |
bool | |||
) |
NEM::SRV::omegahRefineSrv::vtkGetMacro | ( | MaxElementCount | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkGetMacro | ( | MinElementCount | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkGetMacro | ( | ElementCountOverRelaxation | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkGetMacro | ( | NsmoothingSteps | , |
Omega_h::Int | |||
) |
NEM::SRV::omegahRefineSrv::vtkSetMacro | ( | ShouldLimitLengths | , |
bool | |||
) |
Default is off.
NEM::SRV::omegahRefineSrv::vtkSetMacro | ( | MaxLength | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkSetMacro | ( | MinLength | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkSetMacro | ( | ShouldLimitGradation | , |
bool | |||
) |
Default is off.
NEM::SRV::omegahRefineSrv::vtkSetMacro | ( | MaxGradationRate | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkSetMacro | ( | GradationConvergenceTolerance | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkSetMacro | ( | ShouldLimitElementCount | , |
bool | |||
) |
NEM::SRV::omegahRefineSrv::vtkSetMacro | ( | MaxElementCount | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkSetMacro | ( | MinElementCount | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkSetMacro | ( | ElementCountOverRelaxation | , |
Omega_h::Real | |||
) |
NEM::SRV::omegahRefineSrv::vtkSetMacro | ( | NsmoothingSteps | , |
Omega_h::Int | |||
) |
|
private |
Definition at line 415 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 411 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 427 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 426 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 413 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 410 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 407 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 421 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 420 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 405 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 414 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 408 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 419 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 422 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 423 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 428 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 429 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 424 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 416 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 431 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 433 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 412 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 409 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 406 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 434 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 430 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 432 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 440 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 438 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 437 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 404 of file omegahRefineSrv.H.
Referenced by RequestData().
|
private |
Definition at line 425 of file omegahRefineSrv.H.
Referenced by RequestData().