whizard is hosted by Hepforge, IPPP Durham

Opened 11 years ago

Closed 5 years ago

#529 closed defect (duplicate)

Reenable user structure function, user cuts, etc.

Reported by: Juergen Reuter Owned by: kilian
Priority: P4 Milestone: v3.0.0
Component: core Version: 2.1.1
Severity: normal Keywords:
Cc:

Description

clear ...

Change History (23)

comment:1 Changed 11 years ago by Juergen Reuter

Shall we move this to 2.1.1.?

comment:2 Changed 11 years ago by Juergen Reuter

2.2.1, I meant ...

comment:3 Changed 11 years ago by Juergen Reuter

Again the question: shall we move this to 2.2.1?

comment:4 Changed 11 years ago by Juergen Reuter

WK, you wanna do this now, or shall we move it to 2.2.1?

comment:5 Changed 11 years ago by Juergen Reuter

???

comment:6 Changed 11 years ago by kilian

Priority: P3P4

I'd like to discuss this at the Meeting next week. I could do something, but the question is what will (or may) be requested in the near future, by us developers or by users.

comment:7 Changed 11 years ago by Juergen Reuter

There are two cases: user structure functions (user_strfun.sin) and user cuts (user_cut, user_event_shape, user_obs) in user_cuts.sin.

comment:8 Changed 11 years ago by Juergen Reuter

Milestone: v2.2.0v2.2.1

As discussed with WK: user strfun probably possible at the moment, but no immediate use case. user_event_shape, user_cuts, user_obs will come after the revisions of the refactoring of variables/expressions module (#544), and the refactoring of the analysis module (#543).

comment:9 Changed 11 years ago by Juergen Reuter

Milestone: v2.2.1v2.2.0

I put it back to 2.2.0 until the very end before the release.

comment:10 Changed 11 years ago by kilian

What we are discussing here, is a kind of "plugin" facility.

The user may provide code snippets that are registered with WHIZARD, compiled when necessary via a dedicated Makefile (that could be generated automatically), and linked dynamically or statically upon request. I'd suggest that there is a dedicated subdirectory for this, similar to user-supplied models etc.

The interfaces that the plugins have to implement should be well-defined.

Even though we had something of this kind in the past, I still don't think that it is a good idea to reactivate this right now. The issue is not difficult, but a quick implementation is unlikely to remain sufficient. In any case, the interfaces will become subject to change for some time.

comment:11 Changed 11 years ago by Juergen Reuter

Milestone: v2.2.0v2.2.1

After discussion with WK, we decided to mark this as "due to refactoring currently disabled" (which is a standard procedure even for languages like e.g. Python) and to finish it in the next upgrade.

comment:12 Changed 11 years ago by Juergen Reuter

Milestone: v2.2.2v2.2.3

comment:13 Changed 10 years ago by Juergen Reuter

Milestone: v2.2.3v2.2.4

comment:14 Changed 10 years ago by Juergen Reuter

Milestone: v2.2.5v2.2.6

comment:15 Changed 10 years ago by Juergen Reuter

Milestone: v2.2.6v2.2.7

comment:16 Changed 10 years ago by Juergen Reuter

Milestone: v2.2.7v2.3.0

comment:17 Changed 9 years ago by Juergen Reuter

Milestone: v2.3.0v2.4.0

comment:18 Changed 8 years ago by Juergen Reuter

Milestone: v2.4.0v2.5.0

Milestone renamed

comment:19 Changed 8 years ago by Juergen Reuter

As discussed with the members of the LC generator group, at the moment there is no more need for user structure functions. In case of future need, it is probably less complicated to implement the needed structure function directly in WHIZARD, taking also care of the specific mappings. User-defined cuts as external code as well as user observables are still desirable.

comment:20 Changed 8 years ago by Juergen Reuter

Milestone: v2.5.0v2.6.0

Milestone renamed

comment:21 Changed 7 years ago by Juergen Reuter

Milestone: v2.6.0v2.6.1

comment:22 Changed 7 years ago by Juergen Reuter

Milestone: v2.6.1v3.0.0

comment:23 Changed 5 years ago by Juergen Reuter

Resolution: duplicate
Status: newclosed

Transferred to Gitlab issue 319.

Note: See TracTickets for help on using tickets.