match_morph#

Morpher.match_morph(part_id, match_pairs, match_morph_params, bc_params, solve_params)#

Match source and target zonelets defined by match pairs with prescribed boundary conditions for each pair. Also, solves boundary condition parameters to define uniform surface and volume regions in source neighborhood.

Parameters:
part_idint

Id of source part.

match_pairsMatchPairArray

Array of match pairs of sources and targets.

match_morph_paramsMatchMorphParams

Match morph parameters.

bc_paramsMorphBCParams

Morph boundary condition parameters.

solve_paramsMorphSolveParams

Morpher solve parameters.

Returns:
MatchMorphResults

Returns the MatchMorphResults.

Return type:

MatchMorphResults

Examples

>>> result = morph.match_morph([match_pair1, match_pair2], match_morph_params, bc_params, solve_params)