Plugins
Loading...
Searching...
No Matches
lua-include.lua File Reference

Functions

function DensityDrivenFlow (fcts, subsets, discType)
 

Function Documentation

◆ DensityDrivenFlow()

function DensityDrivenFlow ( fcts  ,
subsets  ,
discType   
)

Returns a DensityDrivenFlow Element-Disc of the requested type

Returns
Returns the domain discreatization
Parameters
fcts(String) names of symbolic functions
subsets(String) names of symbolic subsets
discType(String) discretizatin scheme

location: /home/runner/work/docs/docs/ug4/plugins/d3f/lua / lua-include.lua :19-27

function DensityDrivenFlow(fcts, subsets, discType)
if discType == nil then discType = "fv1" end
if discType == "fv1" then return DensityDrivenFlowFV1(fcts, subsets)
elseif discType == "fv" then return DensityDrivenFlowFV(fcts, subsets)
else
print("DensityDrivenFlow: no disc type '"..discType.."' available. Aborting")
exit();
end
end
function DensityDrivenFlow(fcts, subsets, discType)