Class to handle Radial Basis Function with a large set of 3D points as nodes.
More...
Class to handle Radial Basis Function with a large set of 3D points as nodes.
The class specializes RBFKernel and employs a 3D point cloud as set of RBF nodes.
- Examples
- RBF_example_00001.cpp.
Definition at line 184 of file rbf.hpp.
◆ ~RBF()
◆ RBF() [1/2]
Default constructor. RBFBasisFunction::WENDLANDC2 is default. RBFMode is
INTERP, by default. Use setMode for changing it.
‍/
RBF::RBF(): RBFKernel() { m_node.clear(); }
/*! Default constructor. Requires optionally statements of type of RBFBasisFunction which must be used. RBFMode is INTERP, by default. Use setMode for changing it.
Definition at line 1219 of file rbf.cpp.
◆ RBF() [2/2]
bitpit::RBF::RBF |
( |
const RBF & | other | ) |
|
Copy Constructor
Definition at line 1228 of file rbf.cpp.
◆ addNode() [1/2]
int bitpit::RBF::addNode |
( |
const std::array< double, 3 > & | node | ) |
|
Adds a RBF node and sets it to active. Does not manage duplicated nodes. Supported in both modes.
- Parameters
-
[in] | node | coordinates of node to be added |
- Returns
- id of node within class
- Examples
- RBF_example_00001.cpp.
Definition at line 1271 of file rbf.cpp.
◆ addNode() [2/2]
std::vector< int > bitpit::RBF::addNode |
( |
const std::vector< std::array< double, 3 > > & | node | ) |
|
Adds a list of RBF nodes and sets them to active. Does not manage duplicated nodes. Supported in both modes.
- Parameters
-
[in] | node | coordinates of nodes to be added |
- Returns
- id of node within class
Definition at line 1286 of file rbf.cpp.
◆ getTotalNodesCount()
int bitpit::RBF::getTotalNodesCount |
( |
| ) |
|
Gets the total number of nodes, active or not. Supported in both modes.
- Returns
- number of available RBF nodes
Definition at line 1260 of file rbf.cpp.
◆ operator=()
RBF & bitpit::RBF::operator= |
( |
RBF | other | ) |
|
◆ removeAllNodes()
void bitpit::RBF::removeAllNodes |
( |
| ) |
|
Remove all nodes in RBF nodal list. Supported in both modes.
Definition at line 1347 of file rbf.cpp.
◆ removeNode() [1/2]
bool bitpit::RBF::removeNode |
( |
int | id | ) |
|
Remove pre-existent node. RBF Node list is resized and renumbered after extraction. Supported in both modes.
- Parameters
-
- Returns
- boolean, true if successfully extracted, false otherwise
Definition at line 1311 of file rbf.cpp.
◆ removeNode() [2/2]
bool bitpit::RBF::removeNode |
( |
std::vector< int > & | list | ) |
|
Remove pre-existent set of nodes. RBF nodal list is resized and renumbered after extraction. Supported in both modes.
- Parameters
-
[in] | list | id list of candidates to extraction |
- Returns
- boolean, true if all nodes are successfully extracted, false if any of them or none are extracted
Definition at line 1329 of file rbf.cpp.
◆ swap()
void bitpit::RBF::swap |
( |
RBF & | other | ) |
|
|
protectednoexcept |
Swap method. Exchange contents of each class member with those corresponding in the argument object.
- Parameters
-
[in] | other | object to be swapped |
Definition at line 1249 of file rbf.cpp.
◆ m_node
std::vector<std::array<double,3> > bitpit::RBF::m_node |
|
protected |
The documentation for this class was generated from the following files:
---
layout: doxygen_footer
---