33 #ifndef __H__UG__LIB_DISC__SPATIAL_DISC__ELEM_DISC__NEUMANN_BOUNDARY___NEUMANN_BOUNDARY_FE__
34 #define __H__UG__LIB_DISC__SPATIAL_DISC__ELEM_DISC__NEUMANN_BOUNDARY___NEUMANN_BOUNDARY_FE__
40 #include "../neumann_boundary_base.h"
44 template<
typename TDomain>
71 using typename base_type::Data;
77 std::string BndSubsets, std::string InnerSubsets,
81 import.set_data(data);
84 template<
typename TElem,
typename TFEGeom>
87 template <
typename TElem,
typename TFEGeom>
89 std::vector<std::vector<number> > vvvLinDef[],
93 std::vector<MathVector<dim> >
vLocIP;
94 std::vector<MathVector<dim> >
vGloIP;
103 std::string BndSubsets, std::string InnerSubsets)
113 std::string BndSubsets, std::string InnerSubsets)
127 virtual void prepare_setting(
const std::vector<LFEID>& vLfeID,
bool bNonRegularGrid);
143 template<
typename TElem,
typename TFEGeom>
145 template<
typename TElem,
typename TFEGeom>
147 template<
typename TElem,
typename TFEGeom>
149 template<
typename TElem,
typename TFEGeom>
157 template<
typename TElem,
typename TFEGeom>
void register_func();
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:760
Identifier for Local Finite Elements.
Definition: local_finite_element_id.h:98
Definition: local_algebra.h:198
Definition: neumann_boundary_base.h:47
static const int dim
World dimension.
Definition: neumann_boundary_base.h:57
Definition: neumann_boundary_fe.h:47
virtual void prepare_setting(const std::vector< LFEID > &vLfeID, bool bNonRegularGrid)
type of trial space for each function used
Definition: neumann_boundary_fe.cpp:53
void prep_elem(const LocalVector &u, GridObject *elem, const ReferenceObjectID roid, const MathVector< dim > vCornerCoords[])
Definition: neumann_boundary_fe.cpp:174
void register_all_funcs(int order)
std::vector< NumberData > m_vNumberData
Definition: neumann_boundary_fe.h:119
int m_si
current inner subset
Definition: neumann_boundary_fe.h:138
int m_quadOrder
Definition: neumann_boundary_fe.h:132
static const int _C_
Definition: neumann_boundary_fe.h:153
int m_order
current order of disc scheme
Definition: neumann_boundary_fe.h:131
LFEID m_lfeID
current shape function set
Definition: neumann_boundary_fe.h:135
void add_rhs_elem(LocalVector &d, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: neumann_boundary_fe.cpp:194
void prep_elem_loop(const ReferenceObjectID roid, const int si)
Definition: neumann_boundary_fe.cpp:114
NeumannBoundaryFE< TDomain > this_type
Base class type.
Definition: neumann_boundary_fe.h:53
void add(SmartPtr< CplUserData< number, dim > > data, const char *BndSubsets, const char *InnerSubsets)
Definition: neumann_boundary_fe.cpp:73
std::vector< VectorData > m_vVectorData
Definition: neumann_boundary_fe.h:121
NeumannBoundaryBase< TDomain > base_type
Base class type.
Definition: neumann_boundary_fe.h:50
NeumannBoundaryFE(const char *function)
default constructor
Definition: neumann_boundary_fe.cpp:44
static const int dim
World dimension.
Definition: neumann_boundary_fe.h:57
void update_subset_groups()
Definition: neumann_boundary_fe.cpp:96
void finish_elem_loop()
Definition: neumann_boundary_fe.cpp:260
std::vector< BNDNumberData > m_vBNDNumberData
Definition: neumann_boundary_fe.h:120
void register_func()
Definition: neumann_boundary_fe.cpp:381
ReferenceObjectID
these ids are used to identify the shape of a geometric object.
Definition: grid_base_objects.h:74
base class for user data
Definition: neumann_boundary_base.h:87
Conditional scalar user data.
Definition: neumann_boundary_fe.h:101
SmartPtr< CplUserData< number, dim, bool > > functor
Definition: neumann_boundary_fe.h:106
BNDNumberData(SmartPtr< CplUserData< number, dim, bool > > functor_, std::string BndSubsets, std::string InnerSubsets)
Definition: neumann_boundary_fe.h:102
Unconditional scalar user data.
Definition: neumann_boundary_fe.h:75
std::vector< MathVector< dim > > vLocIP
Definition: neumann_boundary_fe.h:93
void extract_bip(const TFEGeom &geo)
Definition: neumann_boundary_fe.cpp:324
std::vector< MathVector< dim > > vGloIP
Definition: neumann_boundary_fe.h:94
NeumannBoundaryFE * This
Definition: neumann_boundary_fe.h:95
NumberData(SmartPtr< CplUserData< number, dim > > data, std::string BndSubsets, std::string InnerSubsets, NeumannBoundaryFE *this_)
Definition: neumann_boundary_fe.h:76
void lin_def(const LocalVector &u, std::vector< std::vector< number > > vvvLinDef[], const size_t nip)
Definition: neumann_boundary_fe.cpp:300
Unconditional vector user data.
Definition: neumann_boundary_fe.h:111
SmartPtr< CplUserData< MathVector< dim >, dim > > functor
Definition: neumann_boundary_fe.h:116
VectorData(SmartPtr< CplUserData< MathVector< dim >, dim > > functor_, std::string BndSubsets, std::string InnerSubsets)
Definition: neumann_boundary_fe.h:112