Dune::Copasi
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ > Struct Template Referenceabstract

#include <model.hh>

Classes

struct  State
 

Public Types

using Grid = Grid_
 
using GridView = GridView_
 
using TimeQuantity = TimeQuantity_
 
using RangeQuatinty = RangeQuatinty_
 
using GridFunction
 

Public Member Functions

 Model ()=default
 
 Model (const Model &)=delete
 
 Model (Model &&)=delete
 
Modeloperator= (const Model &)=delete
 
Modeloperator= (Model &&)=delete
 
virtual ~Model ()=default
 
virtual std::unique_ptr< Statemake_state (const std::shared_ptr< const Grid > &, const ParameterTree &) const =0
 
virtual void interpolate (State &, const std::unordered_map< std::string, GridFunction > &) const =0
 
virtual std::unordered_map< std::string, GridFunctionmake_initial (const Grid &, const ParameterTree &) const =0
 
GridFunction make_compartment_function (const State &state, std::string_view name) const
 
virtual GridFunction make_compartment_function (const std::shared_ptr< const State > &, std::string_view) const =0
 
virtual std::nullptr_t make_membrane_function (const State &, std::string_view) const
 
virtual std::nullptr_t make_membrane_function (const std::shared_ptr< const State > &, std::string_view) const
 
virtual void write_vtk (const State &, const std::filesystem::path &, bool) const
 
virtual std::unique_ptr< PDELab::OneStep< State > > make_step_operator (const State &, const ParameterTree &) const =0
 
virtual std::map< std::string, doublereduce (const State &, const ParameterTree &) const
 

Member Typedef Documentation

◆ Grid

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
using Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::Grid = Grid_

◆ GridFunction

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
using Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::GridFunction
Initial value:
Dune::Functions::GridViewFunction<
RangeQuatinty(typename GridView::template Codim<0>::Geometry::GlobalCoordinate),
GridView_ GridView
Definition model.hh:32
RangeQuatinty_ RangeQuatinty
Definition model.hh:34

◆ GridView

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
using Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::GridView = GridView_

◆ RangeQuatinty

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
using Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::RangeQuatinty = RangeQuatinty_

◆ TimeQuantity

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
using Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::TimeQuantity = TimeQuantity_

Constructor & Destructor Documentation

◆ Model() [1/3]

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::Model ( )
default

◆ Model() [2/3]

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::Model ( const Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ > & )
delete

◆ Model() [3/3]

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::Model ( Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ > && )
delete

◆ ~Model()

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
virtual Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::~Model ( )
virtualdefault

Member Function Documentation

◆ interpolate()

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
virtual void Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::interpolate ( State & ,
const std::unordered_map< std::string, GridFunction > &  ) const
pure virtual

◆ make_compartment_function() [1/2]

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
GridFunction Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::make_compartment_function ( const State & state,
std::string_view name ) const
inline

◆ make_compartment_function() [2/2]

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
virtual GridFunction Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::make_compartment_function ( const std::shared_ptr< const State > & ,
std::string_view  ) const
pure virtual

◆ make_initial()

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
virtual std::unordered_map< std::string, GridFunction > Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::make_initial ( const Grid & ,
const ParameterTree &  ) const
pure virtual

◆ make_membrane_function() [1/2]

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
virtual std::nullptr_t Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::make_membrane_function ( const State & ,
std::string_view  ) const
inlinevirtual

◆ make_membrane_function() [2/2]

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
virtual std::nullptr_t Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::make_membrane_function ( const std::shared_ptr< const State > & ,
std::string_view  ) const
inlinevirtual

◆ make_state()

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
virtual std::unique_ptr< State > Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::make_state ( const std::shared_ptr< const Grid > & ,
const ParameterTree &  ) const
pure virtual

◆ make_step_operator()

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
virtual std::unique_ptr< PDELab::OneStep< State > > Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::make_step_operator ( const State & ,
const ParameterTree &  ) const
pure virtual

◆ operator=() [1/2]

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
Model & Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::operator= ( const Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ > & )
delete

◆ operator=() [2/2]

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
Model & Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::operator= ( Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ > && )
delete

◆ reduce()

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
virtual std::map< std::string, double > Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::reduce ( const State & ,
const ParameterTree &  ) const
inlinevirtual

◆ write_vtk()

template<Dune::Concept::Grid Grid_, Dune::Concept::GridView GridView_ = typename Grid_::LeafGridView, class RangeQuatinty_ = double, class TimeQuantity_ = double>
virtual void Dune::Copasi::Model< Grid_, GridView_, RangeQuatinty_, TimeQuantity_ >::write_vtk ( const State & ,
const std::filesystem::path & ,
bool  ) const
inlinevirtual

The documentation for this struct was generated from the following file: