UFC

Add tabulate_tensor functions that take quadrature point arguments

Registered by Anders Logg

Add to each integral class:

 virtual void tabulate_tensor(double* A,
                               const double * const * w,
                               const ufc::cell& c,
                               unsigned int num_quadrature_points,
                               const double * const * quadrature_points,
                               const double * quadrature_weights) const = 0;

The variable quadrature_points lists quadrature points on the reference element.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 2.0
Started by
Anders Logg
Completed by
Anders Logg

Related branches

Sprints

Whiteboard

GNW: Do we want the double pointers? They make it difficult to work with other data structures, e.g. std::vector. Could we use a plain pointer instead?

AL: That's how it's handled in other places of UFC, for example tabulate_coordinates. I suggest we add as written now and have a discussion later on which data structures we should use throughout UFC. For example, we might consider using std::vector in place of arrays.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.