-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unitarity constraint in the s->inf limit #525
Conversation
1b4801e
to
8d88abd
Compare
This would have the benefit of being compatible with SARAH. However, it would have the disadvantage that a user cannot easily use FS and SARAH together, because the block may be overwritten by one of the programs. An alternative form could be:
which would allow us to add further fields to the block (like 1-loop unitarity limits etc.). Would this make sense? |
I've implemented it as follows
Unitarity in the |
Should we implement the |
Do you mean that these functions should return a new handle? Or do you mean to just have separate (new) functions? |
I meant that since we don't implement unitarity as an observable we should not return it from |
Is there a way to control precision of numbers returned by mathlink interface? Or is it always single precision float? |
I think it is not restricted to single-precision floating point numbers. in |
Please see the following code snippet: DLLEXPORT int FSCMSSMOpenHandle(
WolframLibraryData libData, mint Argc, MArgument* Args, MArgument Res)
{
using namespace flexiblesusy;
using namespace flexiblesusy::CMSSM_librarylink;
if (Argc != 1)
return LIBRARY_TYPE_ERROR;
MTensor pars = MArgument_getMTensor(Args[0]);
if (libData->MTensor_getType(pars) != MType_Real ||
libData->MTensor_getRank(pars) != 1)
return LIBRARY_TYPE_ERROR;
try {
auto data = make_data(make_dynamic_array_view(
libData->MTensor_getRealData(pars),
libData->MTensor_getDimensions(pars)[0]));
const auto hid = get_new_handle();
handles.insert(std::make_pair(hid, std::move(data)));
MArgument_setInteger(Res, hid);
} catch (const flexiblesusy::Error& e) {
std::cerr << e.what_detailed() << std::endl;
return LIBRARY_FUNCTION_ERROR;
}
return LIBRARY_NO_ERROR;
} |
Sorry. My bad. It's actually funny. |
292383b
to
46beaab
Compare
c76bdc5
to
3d79a99
Compare
3d79a99
to
9cd9114
Compare
This reverts commit d7e1679.
b6226b5
to
c8555ba
Compare
c8555ba
to
0c135f3
Compare
This reverts commit 0c135f3.
I've decided to split implementation of unitarity constraints for$s \to \infty$ from #524 into a separate PR.
@Expander, how should we present results? Should we implement
like SARAH (see Sec. 4.2.3 in here)
TODO:
max_scattering_eigenvalue_infinite_s
function should return the entire matrix of eigenvalues for testingset_unitarity_infinite_s
fromtemplates/slha_io.cpp.in
tosrc/slha_io.cpp
Validation: