Comments (3)
Hi Alice,
what do you mean with "extremal points" of an interface? Do you mean its vertices? If yes, here an example is:
Let's extract an interface from a voloctree object (here patch is a pointer to a voloctree object) using its id (be id a consistent long) and ask for its vertices:
ConstProxyVector interfaceVertexIds = patch->getInterface(id).getVertexIds();
loop over the obtained vertices and ask for their coordinates storing them in an array<double,3>
const int nCellVertices = interfaceVertexIds.size();
for(int k = 0; k < nCellVertices; ++k){
std::array<double,3> v_coord = patch->getVertexCoords(interfaceVertexIds[k]);
}
If you meant something else, please explain me exactly what you mean with "extremal points" of an interface.
Marco
from bitpit.
Sorry, obviously nCellVertices is not an happy choice, but it is not wrong. I should use something less cryptic like nInterfaceVertices. Anyway...
from bitpit.
Hello Marco,
sorry I am late for answering. Yes it was that I meant; thank you so much for your help, I was pretty sure there was a better manner to study the vertices of an interface. I am still testing and it is very helpful for me now.
Alice
from bitpit.
Related Issues (20)
- Fix Cmake min version for pointcloud and lineunstructured modules
- voloctree: DDT Memory Failure when running with guard pages HOT 2
- Bitpit Debug MPI : assertion fails in PatchKernel::getOwner method
- PABLO: *UBSAN runtime_error* Morton left shift by 16 places cannot be represented in type uint64_t HOT 2
- cmake: activate address sanitizer for MSVC compiler
- Outputting RBF objects to text file HOT 5
- patchKernel: Fix documentation in patch_skd_tree.cpp
- Compilation errors with llvm's libc++ : `binary_stream.tpp:72:18: error: reinterpret_cast <...> is not allowed` HOT 6
- CMake error : `check_compiler_flag: C: needs to be enabled before use.`
- Problem with bitpit::CGElem::distancePointPolygon when compiling bitpit in Debug Mode HOT 6
- CMake : errors concerning GetGitRevisionDescription.cmake during configure step
- does bitpit support defining a domain with different lengths in different directions HOT 4
- IO: STLReader::detectFormat returning FormatUnknown for STL case HOT 1
- Example for volOctree with refinement and MPI HOT 9
- Warnings in RBF module
- Parallel RBF for large set of nodes
- Parallel RBF for large set of nodes HOT 2
- After building, headers aren't available HOT 1
- Undefined Reference to `bitpit::ParaTree::ParaTree` HOT 1
- Levelset values on vertices of volOctree HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitpit.