gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
automaticMeshSizeField Class Reference

#include <automaticMeshSizeField.h>

Inheritance diagram for automaticMeshSizeField:
Collaboration diagram for automaticMeshSizeField:

Public Member Functions

 ~automaticMeshSizeField ()
 
 automaticMeshSizeField (std::string fFile="", int minElementsPerTwoPi=CTX::instance() ->mesh.lcFromCurvature, int nLayersPerGap=CTX::instance() ->mesh.nLayersPerGap, double gradation=CTX::instance() ->mesh.gradation, double hmin=-1.0, double hmax=-1.0, double hbulk=-1.0, int smoothing=true, int gaps=true)
 
virtual bool isotropic () const
 
const char * getName ()
 
std::string getDescription ()
 
void update ()
 
virtual double operator() (double X, double Y, double Z, GEntity *ge=nullptr)
 
virtual void operator() (double x, double y, double z, SMetric3 &m, GEntity *ge=nullptr)
 
- Public Member Functions inherited from Field
 Field ()
 
virtual ~Field ()
 
bool isDeprecated ()
 
virtual int numComponents () const
 
virtual void operator() (double x, double y, double z, SVector3 &, GEntity *ge=0)
 
void putOnNewView (int viewTag=-1)
 
FieldOptiongetOption (const std::string &optionName)
 

Private Attributes

std::string _forestFile
 
int _nPointsPerCircle
 
int _nPointsPerGap
 
double _hmin
 
double _hmax
 
double _hbulk
 
double _gradation
 
bool _smoothing
 
bool _gaps
 

Additional Inherited Members

- Public Attributes inherited from Field
int id
 
std::map< std::string, FieldOption * > options
 
std::map< std::string, FieldCallback * > callbacks
 
bool updateNeeded
 
- Protected Attributes inherited from Field
bool _deprecated
 

Detailed Description

Definition at line 124 of file automaticMeshSizeField.h.

Constructor & Destructor Documentation

◆ ~automaticMeshSizeField()

automaticMeshSizeField::~automaticMeshSizeField ( )

Definition at line 2493 of file automaticMeshSizeField.cpp.

◆ automaticMeshSizeField()

automaticMeshSizeField::automaticMeshSizeField ( std::string  fFile = "",
int  minElementsPerTwoPi = CTX::instance()->mesh.lcFromCurvature,
int  nLayersPerGap = CTX::instance()->mesh.nLayersPerGap,
double  gradation = CTX::instance()->mesh.gradation,
double  hmin = -1.0,
double  hmax = -1.0,
double  hbulk = -1.0,
int  smoothing = true,
int  gaps = true 
)
inline

Definition at line 141 of file automaticMeshSizeField.h.

Here is the call graph for this function:

Member Function Documentation

◆ getDescription()

std::string automaticMeshSizeField::getDescription ( )
inlinevirtual

Reimplemented from Field.

Definition at line 202 of file automaticMeshSizeField.h.

◆ getName()

const char* automaticMeshSizeField::getName ( )
inlinevirtual

Implements Field.

Definition at line 200 of file automaticMeshSizeField.h.

◆ isotropic()

virtual bool automaticMeshSizeField::isotropic ( ) const
inlinevirtual

Reimplemented from Field.

Definition at line 199 of file automaticMeshSizeField.h.

◆ operator()() [1/2]

double automaticMeshSizeField::operator() ( double  X,
double  Y,
double  Z,
GEntity ge = nullptr 
)
virtual

Implements Field.

Definition at line 2462 of file automaticMeshSizeField.cpp.

Here is the call graph for this function:

◆ operator()() [2/2]

void automaticMeshSizeField::operator() ( double  x,
double  y,
double  z,
SMetric3 m,
GEntity ge = nullptr 
)
virtual

Reimplemented from Field.

Definition at line 2478 of file automaticMeshSizeField.cpp.

Here is the call graph for this function:

◆ update()

void automaticMeshSizeField::update ( )
virtual

Reimplemented from Field.

Definition at line 2949 of file automaticMeshSizeField.cpp.

Referenced by automaticMeshSizeField().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _forestFile

std::string automaticMeshSizeField::_forestFile
private

Definition at line 131 of file automaticMeshSizeField.h.

Referenced by automaticMeshSizeField().

◆ _gaps

bool automaticMeshSizeField::_gaps
private

Definition at line 137 of file automaticMeshSizeField.h.

Referenced by automaticMeshSizeField().

◆ _gradation

double automaticMeshSizeField::_gradation
private

Definition at line 136 of file automaticMeshSizeField.h.

Referenced by automaticMeshSizeField().

◆ _hbulk

double automaticMeshSizeField::_hbulk
private

Definition at line 135 of file automaticMeshSizeField.h.

Referenced by automaticMeshSizeField().

◆ _hmax

double automaticMeshSizeField::_hmax
private

Definition at line 134 of file automaticMeshSizeField.h.

Referenced by automaticMeshSizeField().

◆ _hmin

double automaticMeshSizeField::_hmin
private

Definition at line 134 of file automaticMeshSizeField.h.

Referenced by automaticMeshSizeField().

◆ _nPointsPerCircle

int automaticMeshSizeField::_nPointsPerCircle
private

Definition at line 132 of file automaticMeshSizeField.h.

Referenced by automaticMeshSizeField().

◆ _nPointsPerGap

int automaticMeshSizeField::_nPointsPerGap
private

Definition at line 133 of file automaticMeshSizeField.h.

Referenced by automaticMeshSizeField().

◆ _smoothing

bool automaticMeshSizeField::_smoothing
private

Definition at line 137 of file automaticMeshSizeField.h.

Referenced by automaticMeshSizeField().


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