36 #ifndef __H__UG__PLUGINS__ELECTROMAGNETISM__EM_DATA__
37 #define __H__UG__PLUGINS__ELECTROMAGNETISM__EM_DATA__
51 namespace Electromagnetism{
61 template <
typename TDomain>
115 UG_THROW (
"EMaterial: The object has not been closed.");
203 std::vector<int> & minCondInd
284 template <
typename TDomain,
typename TAlgebra>
Common interface to get the Dirichlet boundary conditions.
Definition: em_material.h:287
virtual void get_dirichlet_subsets(SubsetGroup &dirichlet_ssgrp) const =0
should extend the given subset group with the Dirichlet subsets
Class for subdomain-dependent data for the E-based formulated problems.
Definition: em_material.h:63
std::vector< int > m_minCondSsI
Definition: em_material.h:257
ConstSmartPtr< domain_type > m_spDomain
domain
Definition: em_material.h:211
void add(const char *subsets, number mu, number sigma)
adds a generic subset data item
Definition: em_material_impl.h:90
TDomain domain_type
domain type
Definition: em_material.h:69
std::vector< TSubdomData > m_vSdD
Subdomain data items.
Definition: em_material.h:236
std::vector< int > m_baseConductors
Definition: em_material.h:267
void connectivity(std::vector< int > &minCondInd)
computes the connectivity of the conductions
Definition: em_material_impl.h:196
static const int dim
world dimension
Definition: em_material.h:75
bool finalized() const
returns true iff closed
Definition: em_material.h:120
int min_conductor_ssi(int si) const
Definition: em_material.h:151
t_data_map m_mUserDataBC
Map assigning subdomain indices to the subdomain data items.
Definition: em_material.h:242
bool get_mu_sigma(int si, number &mu, number &sigma) const
reads the data for a subdomain from the data item
Definition: em_material_impl.h:65
void add(const char *subsets, number mu)
adds a insulator
Definition: em_material.h:94
EMaterial< TDomain > this_type
own type
Definition: em_material.h:66
bool m_bClosed
Flag that indicates that the description of the domain has been completed.
Definition: em_material.h:245
void analyze_topology()
analyzes the conductor topology of the domain
Definition: em_material_impl.h:240
const std::vector< int > & base_conductors() const
Definition: em_material.h:166
std::string m_sSsNames
String of all the subset names mentioned in the data items.
Definition: em_material.h:248
const std::vector< int > & min_conductor_ssi() const
Definition: em_material.h:140
const char * subset_names() const
returns the string of the subset names
Definition: em_material.h:112
domain_type::subset_handler_type subset_handler_type
subset handler type
Definition: em_material.h:72
int base_conductor_index(int si) const
Definition: em_material.h:191
ConstSmartPtr< subset_handler_type > subset_handler() const
constant access to the subset handler
Definition: em_material.h:106
void close()
finalizes the object
Definition: em_material_impl.h:109
const std::vector< int > & base_conductor_index() const
Definition: em_material.h:180
std::vector< int > m_baseCondInd
Definition: em_material.h:276
std::map< int, TSubdomData * > t_data_map
Data map type.
Definition: em_material.h:239
EMaterial(ConstSmartPtr< domain_type > domain)
Constructor.
Definition: em_material_impl.h:46
ConstSmartPtr< domain_type > domain() const
returns pointer to the domain
Definition: em_material.h:123
TSubsetHandler subset_handler_type
data item type
Definition: em_material.h:215
number sigma
electric conductivity
Definition: em_material.h:220
number mu
magnetic permeability
Definition: em_material.h:219
SubsetGroup ssGrp
subset group
Definition: em_material.h:217
TSubdomData(ConstSmartPtr< subset_handler_type > pSH, const char *names, number the_mu, number the_sigma)
Constructor:
Definition: em_material.h:224
std::string ssNames
subset names
Definition: em_material.h:216