Skip to content

Add ability to calcualte weighted volume vectors and VTMs #43

Description

@dgaylo

Desired Feature

Currently, ELA_OutputWriteVTM() outputs the (discretized version of the) VTM

$$ q_{ml} = \iiint c_m^{n+1}\left(\vec{x}\right) \; c_l^{n}\left(\vec{x}\right) \mathrm{d}V \;. $$

It would be useful if there was a way to output the VTM weighted by some $f\left(\vec{x}\right)$, i.e.,

$$ r_{ml} = \iiint f\left(\vec{x}\right) \; c_m^{n+1}\left(\vec{x}\right) \; c_l^{n}\left(\vec{x}\right) \mathrm{d}V \;. $$

For example, setting $f\left(\vec{x}\right)=x$ would allow one to calculate the centroid $x_{ml} = r_{ml}/q_{ml}$ of the volume described by $q_{ml}$.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions