Skip to content

FILT: Port EMsoftSO3Sampler Filter#16

Open
imikejackson wants to merge 1 commit intodevelopfrom
filter/so3_sampler
Open

FILT: Port EMsoftSO3Sampler Filter#16
imikejackson wants to merge 1 commit intodevelopfrom
filter/so3_sampler

Conversation

@imikejackson
Copy link
Contributor

No description provided.

m_EulerAnglesStoreRef.setValue(j * 3 + 2, static_cast<float>(eu[2]));
}


Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[clang-format] reported by reviewdog 🐶

Suggested change

DataGroupCreationParameter::ValueType({"Ensemble Attribute Matrix"})));
params.insert(std::make_unique<ArrayCreationParameter>(k_EulerAnglesArrayPath_Key, "Euler Angles", "Output array to hold the generated Euler Angles", DataPath({"Euler Angles"})));


Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[clang-format] reported by reviewdog 🐶

Suggested change

{
return MakePreflightErrorResult(-70002, "Misorientation angle must fall in interval [0,90]");
}
ebsdlib::EulerFType euler(pRefOrValue[0] * nx::core::Constants::k_PiOver180F, pRefOrValue[1] * nx::core::Constants::k_PiOver180F, pRefOrValue[2] * nx::core::Constants::k_PiOver180F);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[clang-format] reported by reviewdog 🐶

Suggested change
ebsdlib::EulerFType euler(pRefOrValue[0] * nx::core::Constants::k_PiOver180F, pRefOrValue[1] * nx::core::Constants::k_PiOver180F, pRefOrValue[2] * nx::core::Constants::k_PiOver180F);
ebsdlib::EulerFType euler(pRefOrValue[0] * nx::core::Constants::k_PiOver180F, pRefOrValue[1] * nx::core::Constants::k_PiOver180F, pRefOrValue[2] * nx::core::Constants::k_PiOver180F);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant