Definition at line 38 of file GradSizeField.H.
Public Member Functions | |
GradSizeField (vtkDataSet *_ds, int arrayID, double _dev_mult, bool _maxIsmin) | |
~GradSizeField () override | |
void | computeSizeField (vtkDataArray *da) override |
void | setSizeFactor (double sf) |
Static Public Member Functions | |
static std::vector< double > | computeGradAtCell (vtkCell *cell, vtkDataArray *da) |
static std::vector< double > | computeL2GradAtAllCells (vtkDataSet *ds, vtkDataArray *da) |
static SizeFieldBase * | Create (vtkDataSet *_dataSet, const std::string &method, int arrayID, double _dev_mult, bool _maxIsmin, double _sizeFactor=1.0, int _order=1) |
static std::unique_ptr< SizeFieldBase > | CreateUnique (vtkDataSet *_dataSet, const std::string &method, int arrayID, double _dev_mult, bool _maxIsmin, double _sizeFactor=1.0, int _order=1) |
Protected Member Functions | |
void | mutateValues (std::vector< double > &values) const |
Protected Attributes | |
vtkSmartPointer< vtkDataSet > | ds |
double | dev_mult |
bool | maxIsmin |
vtkSmartPointer< vtkDataArray > | da |
std::string | sfname |
double | sizeFactor |
Inherits NEM::ADP::SizeFieldBase.
NEM::ADP::GradSizeField::GradSizeField | ( | vtkDataSet * | _ds, |
int | arrayID, | ||
double | _dev_mult, | ||
bool | _maxIsmin | ||
) |
Definition at line 44 of file GradSizeField.C.
|
inlineoverride |
Definition at line 43 of file GradSizeField.H.
|
static |
|
static |
Definition at line 80 of file GradSizeField.C.
References computeGradAtCell(), nemAux::l2_Norm(), and NEM::MSH::New().
Referenced by computeSizeField().
|
overridevirtual |
Implements NEM::ADP::SizeFieldBase.
Definition at line 97 of file GradSizeField.C.
References computeL2GradAtAllCells(), NEM::ADP::SizeFieldBase::ds, NEM::ADP::SizeFieldBase::mutateValues(), NEM::MSH::New(), and NEM::ADP::SizeFieldBase::sfname.
|
staticinherited |
Definition at line 82 of file SizeFieldGen.C.
References NEM::ADP::SizeFieldBase::computeSizeField(), and NEM::ADP::SizeFieldBase::setSizeFactor().
Referenced by NEM::ADP::SizeFieldBase::CreateUnique().
|
staticinherited |
Definition at line 103 of file SizeFieldGen.C.
References NEM::ADP::SizeFieldBase::Create().
Referenced by meshBase::generateSizeField().
|
protectedinherited |
Definition at line 112 of file SizeFieldGen.C.
References nemAux::cellsToRefineMaxdev(), NEM::ADP::SizeFieldBase::dev_mult, NEM::ADP::SizeFieldBase::ds, nemAux::getMeanStdev(), nemAux::getMinMax(), nemAux::hasZero(), NEM::ADP::SizeFieldBase::maxIsmin, nemAux::reciprocal_vec(), nemAux::scale_vec_to_range(), and NEM::ADP::SizeFieldBase::sizeFactor.
Referenced by computeSizeField(), and NEM::ADP::ValSizeField::computeSizeField().
|
inlineinherited |
Definition at line 73 of file SizeFieldGen.H.
Referenced by NEM::ADP::SizeFieldBase::Create(), and meshBase::generateSizeField().
|
protectedinherited |
Definition at line 79 of file SizeFieldGen.H.
Referenced by NEM::ADP::ValSizeField::computeL2ValAtAllCells(), NEM::ADP::ValSizeField::computeValAtAllCells(), and NEM::ADP::SizeFieldBase::SizeFieldBase().
|
protectedinherited |
Definition at line 77 of file SizeFieldGen.H.
Referenced by NEM::ADP::SizeFieldBase::mutateValues().
|
protectedinherited |
Definition at line 76 of file SizeFieldGen.H.
Referenced by NEM::ADP::Z2ErrorSizeField::computeNodalError(), NEM::ADP::Z2ErrorSizeField::computeSizeField(), computeSizeField(), NEM::ADP::ValSizeField::computeSizeField(), NEM::ADP::SizeFieldBase::mutateValues(), and NEM::ADP::SizeFieldBase::SizeFieldBase().
|
protectedinherited |
Definition at line 78 of file SizeFieldGen.H.
Referenced by NEM::ADP::SizeFieldBase::mutateValues().
|
protectedinherited |
Definition at line 80 of file SizeFieldGen.H.
Referenced by NEM::ADP::Z2ErrorSizeField::computeSizeField(), computeSizeField(), NEM::ADP::ValSizeField::computeSizeField(), and NEM::ADP::SizeFieldBase::SizeFieldBase().
|
protectedinherited |
Definition at line 81 of file SizeFieldGen.H.
Referenced by NEM::ADP::Z2ErrorSizeField::computeSizeField(), and NEM::ADP::SizeFieldBase::mutateValues().