Skip to content

Remove Response Function #862

@rodriguez-jay

Description

@rodriguez-jay

When assigning multigroup adjoint sources we have required the creation of a ResponseFunction as follows:

def ResponseFunction(xyz, mat_id):
    response = xs_det.sigma_a
    return response
response_func = VectorSpatialFunction(ResponseFunction)
adj_src = VolumetricSource(logical_volume=det, func=response_func)

The same source distribution can be assigned in a similar fashion to what is already done for forward sources:

Q_adj = xs_det.sigma_a.tolist()
adj_src = VolumetricSource(logical_volume=det, group_strength=Q_adj)

I believe the requirement for using a response function is an artifact from lua and no longer necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions