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_id
int
Id of source part.
- match_pairs
MatchPairArray
Array of match pairs of sources and targets.
- match_morph_params
MatchMorphParams
Match morph parameters.
- bc_params
MorphBCParams
Morph boundary condition parameters.
- solve_params
MorphSolveParams
Morpher solve parameters.
- part_id
- Returns:
MatchMorphResults
Returns the MatchMorphResults.
- Return type:
Examples
>>> result = morph.match_morph([match_pair1, match_pair2], match_morph_params, bc_params, solve_params)