wiki:FixUpParent

Version 2 (modified by trac, 12 years ago) ( diff )

FUNCTION FixUpParent (NodeInfo Child, FuncParam Dummy)


Click here to view the v166 source.

Retrieves the parent of CurrentNode (which probably ought to be Child, but this is not enforced). FixUpParent() then applies the effects of flux in each dimension at the grid edges to each element of Parent%q. The formula is as follows:

factor = (refine_ratio-1)nDims

qk = qk + factor * fixfluxn,k

Where k is an individual variable and fixfluxn,k is the effect of the nth-dimensional component of flux on variable k.


INCLUDES:

None.

USES:

None.

Note: See TracWiki for help on using the wiki.