Skip to content
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

[WIP] Modularize assembly #718

Merged
merged 4 commits into from Jan 19, 2016
Merged

Commits on Jan 17, 2016

  1. Modularize assembly.

    Introduce a structure that contains signals that point to functions
    that do the actual assembly loop. The setup of scratch objects etc
    continues to happen at an outer level, but on every cell we then
    simply call each slot in the signal, and thereby add up terms as
    appropriate for an equation or approximation.
    bangerth committed Jan 17, 2016
    Configuration menu
    Copy the full SHA
    816b823 View commit details
    Browse the repository at this point in the history
  2. Wrap the functions for assembling the complete equation into a class.

    This requires us to store a list of such objects somewhere. But it also allows us to
    remove the SimulatorAccess object from the argument list of these functions.
    bangerth committed Jan 17, 2016
    Configuration menu
    Copy the full SHA
    02447a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2016

  1. Configuration menu
    Copy the full SHA
    d6041df View commit details
    Browse the repository at this point in the history
  2. Also convert the function that assembles freesurface terms.

    This requires making the FreeSurfaceHandler public in the Simulator class. If merged,
    I will move this class into its own header file at a later time.
    bangerth committed Jan 18, 2016
    Configuration menu
    Copy the full SHA
    a4e7f10 View commit details
    Browse the repository at this point in the history