33 #ifndef __H__UG__LIB_DISC__SPATIAL_DISC__ELEM_DISC__NEUMANN_BOUNDARY___NEUMANN_BOUNDARY_BASE__
34 #define __H__UG__LIB_DISC__SPATIAL_DISC__ELEM_DISC__NEUMANN_BOUNDARY___NEUMANN_BOUNDARY_BASE__
44 template<
typename TDomain>
72 void add(
number val,
const char* BndSubsets,
const char* InnerSubsets);
73 void add(
number val,
const std::vector<std::string>& BndSubsets,
const std::vector<std::string>& InnerSubsets);
74 void add(
const std::vector<number>& val,
const char* BndSubsets,
const char* InnerSubsets);
75 void add(
const std::vector<number>& val,
const std::vector<std::string>& BndSubsets,
const std::vector<std::string>& InnerSubsets);
77 void add(
const char*
name,
const char* BndSubsets,
const char* InnerSubsets);
78 void add(
const char*
name,
const std::vector<std::string>& BndSubsets,
const std::vector<std::string>& InnerSubsets);
80 void add(
LuaFunctionHandle fct,
const std::vector<std::string>& BndSubsets,
const std::vector<std::string>& InnerSubsets);
88 Data(std::string BndSubsets_, std::string InnerSubsets_)
109 template<
typename TElem,
typename TFVGeom>
111 template<
typename TElem,
typename TFVGeom>
113 template<
typename TElem,
typename TFVGeom>
115 template<
typename TElem,
typename TFVGeom>
location name
Definition: checkpoint_util.lua:128
Definition: smart_pointer.h:108
Type based UserData.
Definition: user_data.h:501
The base class for all geometric objects, such as vertices, edges, faces, volumes,...
Definition: grid_base_objects.h:157
Definition: elem_disc_interface.h:800
static const int dim
Definition: elem_disc_interface.h:803
Definition: local_algebra.h:422
Definition: local_algebra.h:198
Handle for a lua reference.
Definition: lua_function_handle.h:40
Definition: neumann_boundary_base.h:47
virtual void add(SmartPtr< CplUserData< MathVector< dim >, dim > > user, const char *BndSubsets, const char *InnerSubsets)=0
NeumannBoundaryBase< TDomain > this_type
Base class type.
Definition: neumann_boundary_base.h:53
void add_jac_A_elem(LocalMatrix &J, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: neumann_boundary_base.h:110
virtual void add(SmartPtr< CplUserData< number, dim > > data, const char *BndSubsets, const char *InnerSubsets)=0
virtual void add(SmartPtr< CplUserData< number, dim, bool > > user, const char *BndSubsets, const char *InnerSubsets)=0
static const int dim
World dimension.
Definition: neumann_boundary_base.h:57
void add_def_A_elem(LocalVector &d, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: neumann_boundary_base.h:114
void add_def_M_elem(LocalVector &d, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: neumann_boundary_base.h:116
virtual int type() const
returns the type of elem disc
Definition: neumann_boundary_base.h:104
IElemDisc< TDomain > base_type
Base class type.
Definition: neumann_boundary_base.h:50
void update_subset_groups(Data &userData)
method used to extract subsets id
Definition: neumann_boundary_base.cpp:60
void add_inner_subsets(const char *InnerSubsets)
adds subsets to the looped inner subsets
Definition: neumann_boundary_base.cpp:80
NeumannBoundaryBase(const char *function)
default constructor
Definition: neumann_boundary_base.cpp:47
void add_jac_M_elem(LocalMatrix &J, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: neumann_boundary_base.h:112
Group of subsets.
Definition: subset_group.h:51
double number
Definition: types.h:124
@ EDT_BND
Definition: elem_disc_interface.h:63
base class for user data
Definition: neumann_boundary_base.h:87
SubsetGroup InnerSSGrp
Definition: neumann_boundary_base.h:92
std::string InnerSubsetNames
Definition: neumann_boundary_base.h:93
SubsetGroup BndSSGrp
Definition: neumann_boundary_base.h:90
std::string BndSubsetNames
Definition: neumann_boundary_base.h:91
Data(std::string BndSubsets_, std::string InnerSubsets_)
Definition: neumann_boundary_base.h:88