ug4
load_balancing_util_2.lua File Reference

Functions

function util balancer CondAbort (condition, message)
 
function util balancer CreatePartitioner (dom, partitionerDesc)
 
function util balancer CreatePostProcessor (dom, postProcDesc)
 
function util balancer CreatePreProcessor (dom, preProcDesc)
 
function util balancer CreateProcessHierarchy (dom, hierarchyDesc)
 
function print_quality_records ()
 

Function Documentation

◆ CondAbort()

function util balancer CondAbort ( condition  ,
message   
)

location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / load_balancing_util_2.lua :168-173

function util.balancer.CondAbort(condition, message)
if condition == true then
print("ERROR in util.balancer: " .. message)
exit()
end
end
function table print(data, style)
function test message(msg)

References partitioner.

◆ CreatePartitioner()

function util balancer CreatePartitioner ( dom  ,
partitionerDesc   
)

location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / load_balancing_util_2.lua :256-370

◆ CreatePostProcessor()

function util balancer CreatePostProcessor ( dom  ,
postProcDesc   
)

location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / load_balancing_util_2.lua :394-415

References verbose.

◆ CreatePreProcessor()

function util balancer CreatePreProcessor ( dom  ,
preProcDesc   
)

location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / load_balancing_util_2.lua :373-391

function util.balancer.CreatePreProcessor(dom, preProcDesc)
if util.tableDesc.IsPreset(preProcDesc) then return preProcDesc end
local name, desc = util.tableDesc.ToNameAndDesc(preProcDesc)
local defaults = util.balancer.defaults.partitionPreProcessors[name]
if desc == nil then desc = defaults end
local preProc = nil
if name == "rasterProjectorCoordinates" then
preProc = PartPreProc_RasterProjectorCoordinates(dom:position_attachment())
else
print("ERROR: Unknown partitionPreProcessor specified in " ..
" util.balancer. CreatePreProcessor: " .. name)
exit()
end
if desc then desc.instance = preProc end
return preProc
end
location name
Definition: checkpoint_util.lua:128
if(!(yy_init))
Definition: lexer.cpp:997
function util balancer CreatePreProcessor(dom, preProcDesc)
int local(bglp_vertex_descriptor p)
Definition: parallel_matrix.h:57

References partitioner, and qualityThreshold.

◆ CreateProcessHierarchy()

function util balancer CreateProcessHierarchy ( dom  ,
hierarchyDesc   
)

location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / load_balancing_util_2.lua :418-576

◆ print_quality_records()

function print_quality_records ( )

/**

/**

/**

/**

/**

/** location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / load_balancing_util_2.lua :249-253

print_quality_records = function ()
loadBalancer:print_quality_records()
end
}
end
function print_quality_records()

Referenced by ug::bridge::LoadBalancing::Functionality::Common().