Skip to content
Snippets Groups Projects
Select Git revision
  • 649d9bb1e98475cfd594aaf7fd32ab5d3014172a
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

divide.c

Blame
  • Forked from Gmsh / Gmsh
    Source project has a limited visibility.
    preconditioner.oldh 801 B
    #ifndef H_COMMON_WAVE_PRECONDITIONER
    #define H_COMMON_WAVE_PRECONDITIONER
    
    //FWI Library
    #include "../model/state.h"
    
    /*
    * ModelPreconditionerState
    */
    class ModelPreconditionerState
    {
    private:
        ModelFunction _state;
        bool _isUpToDate;
    public:
        const ModelFunction& state() const;
    
    friend class ModelPreconditionerUpdater;
    };
    
    /*
    * ModelPreconditionerUpdater
    */
    class ModelPreconditionerUpdater
    {
    private:
        ModelPreconditionerState _ps;
        void update(const ModelStateEvaluator& ms);
        virtual ModelFunction update_preconditioner(const ModelStateEvaluator& ms) = 0;
    public:
        const ModelFunction& get_preconditioner(const ModelStateEvaluator& ms);
        void isObsolete(bool NoMoreUpToDate);
        virtual bool isModelDependent() {return true;};
    };
    
    #endif // H_COMMON_WAVE_PRECONDITIONER