Skip to content

Solid Walls - Two approaches? #240

Closed Answered by ProjectPhysX
CbsTau asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @CbsTau,

(TYPE_S) and (TYPE_E with u=0) are not equivalent. Use TYPE_S here, that ensures mass conservation.
To be able to look into the box in VIS_FLAG_SURFACE mode, modify this line to

	if(xyz.x<=0u||xyz.y<=0u||xyz.z<=0u||xyz.x>=def_Nx-2u||xyz.y>=def_Ny-2u||xyz.z>=def_Nz-2u) return;

Kind regards,
Moritz

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CbsTau
Comment options

Answer selected by CbsTau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants