Dune::Copasi
Loading...
Searching...
No Matches
Namespaces | Functions
make_multi_domain_grid.hh File Reference
#include <dune/copasi/common/exceptions.hh>
#include <dune/copasi/common/ostream_to_spdlog.hh>
#include <dune/copasi/common/axis_names.hh>
#include <dune/copasi/concepts/grid.hh>
#include <dune/copasi/parser/context.hh>
#include <dune/copasi/grid/cell_data.hh>
#include <dune/copasi/grid/cell_data_parser.hh>
#include <dune/grid/common/exceptions.hh>
#include <dune/grid/common/gridinfo.hh>
#include <dune/grid/common/mcmgmapper.hh>
#include <dune/grid/common/rangegenerators.hh>
#include <dune/grid/io/file/gmshreader.hh>
#include <dune/grid/uggrid/uggridfactory.hh>
#include <dune/grid/utility/structuredgridfactory.hh>
#include <dune/common/parametertree.hh>
#include <memory>
#include <fmt/ranges.h>
Include dependency graph for make_multi_domain_grid.hh:

Go to the source code of this file.

Namespaces

namespace  Dune
 
namespace  Dune::Copasi
 

Functions

template<Concept::MultiDomainGrid MDGrid, class CellDataType = double>
std::tuple< std::unique_ptr< MDGrid >, std::unique_ptr< CellData< typename MDGrid::LevelGridView, CellDataType > > > Dune::Copasi::make_multi_domain_grid_with_cell_data (Dune::ParameterTree &config, std::shared_ptr< const ParserContext > parser_context={})
 Creates a multi domain grid from a config file From given configuration file with grid and compartment section as described in the program documentation (–grid.* and –compartment.*), this funcition will read or create a grid and its sub-domains (or compartments). It will also assign a unique subdomain 'id' to each compartment in the configuration file. Finally, it will create a cell data with the contents of the gmsh_id if the file was read by gmsh, and the data files parsed with cell_data_parser.
 
template<Concept::MultiDomainGrid MDGrid>
std::unique_ptr< MDGridDune::Copasi::make_multi_domain_grid (Dune::ParameterTree &config, std::shared_ptr< const ParserContext > parser_context={})
 Creates a multi domain grid from a config file From given configuration file with grid and compartment section as described in the program documentation (–grid.* and –compartment.*), this funcition will read or create a grid and its sub-domains (or compartments). It will also assign a unique subdomain 'id' to each compartment in the configuration file. Finally, it will create a cell data with the contents of the gmsh_id if the file was read by gmsh, and the data files parsed with cell_data_parser.