How GAS_ProjectNonDivergent node works?

   120   0   0
User Avatar
Member
19 posts
Joined: July 2018
Offline
Hi There,

I'm just getting started with HDK and wanted to understand a couple of things. Specifically, I'm studying the methods Houdini uses to make a field (vel) divergent-free. Basically, I'd like to rebuild a very simple ProjectNonDivergent node with some basic operations (matrix construction, application of the Conjugate Gradient Method with precondition, etc.), but first I wanted to try reading the source code to understand its structure and the calculations it performs. All for educational purposes only.

Among the installation files, I can only see the header
\toolkit\include\GAS\GAS_ProjectNonDivergent.h
but nothing about any C code.

Would someone be kind enough to tell me if I can find pseudocode or basic code online to understand how it works in Houdini?

Any help would be great

Many thanks!
  • Quick Links