29 #ifndef OOMPH_HP_REFINEABLE_ELEMENTS_HEADER
30 #define OOMPH_HP_REFINEABLE_ELEMENTS_HEADER
34 #include <oomph-lib-config.h>
49 template<
unsigned INITIAL_NNODE_1D>
52 public virtual QElement<1, INITIAL_NNODE_1D>,
65 void initial_setup(
Tree*
const& adopted_father_pt = 0,
66 const unsigned& initial_p_order = 0);
73 void p_refine(
const int& inc,
97 return this->p_order();
103 return INITIAL_NNODE_1D;
118 void local_fraction_of_node(
const unsigned&
n,
Vector<double>& s_fraction);
121 double local_one_d_fraction_of_node(
const unsigned& n1d,
const unsigned&
i);
125 void rebuild_from_sons(
Mesh*& mesh_pt);
133 void binary_hang_helper(
const int& value_id,
135 std::ofstream& output_hangfile);
141 template<
unsigned INITIAL_NNODE_1D>
144 public virtual QElement<2, INITIAL_NNODE_1D>,
157 void initial_setup(
Tree*
const& adopted_father_pt = 0,
158 const unsigned& initial_p_order = 0);
165 void p_refine(
const int& inc,
166 Mesh*
const& mesh_pt,
189 return this->p_order();
195 return INITIAL_NNODE_1D;
213 void local_fraction_of_node(
const unsigned&
n,
Vector<double>& s_fraction);
216 double local_one_d_fraction_of_node(
const unsigned& n1d,
const unsigned&
i);
220 void rebuild_from_sons(
Mesh*& mesh_pt);
234 void quad_hang_helper(
const int& value_id,
236 std::ofstream& output_hangfile);
242 template<
unsigned INITIAL_NNODE_1D>
245 public virtual QElement<3, INITIAL_NNODE_1D>,
258 void initial_setup(
Tree*
const& adopted_father_pt = 0,
259 const unsigned& initial_p_order = 0);
266 void p_refine(
const int& inc,
267 Mesh*
const& mesh_pt,
290 return this->p_order();
296 return INITIAL_NNODE_1D;
314 void local_fraction_of_node(
const unsigned&
n,
Vector<double>& s_fraction);
317 double local_one_d_fraction_of_node(
const unsigned& n1d,
const unsigned&
i);
321 void rebuild_from_sons(
Mesh*& mesh_pt);
335 void oc_hang_helper(
const int& value_id,
337 std::ofstream& output_hangfile);
int i
Definition: BiCGSTAB_step_by_step.cpp:9
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11
Definition: elements.h:73
p-refineable version of RefineableElement
Definition: refineable_elements.h:652
unsigned initial_p_order() const
Get the initial P_order.
Definition: hp_refineable_elements.h:101
virtual ~PRefineableQElement()
Destructor.
Definition: hp_refineable_elements.h:60
void further_setup_hanging_nodes()
Definition: hp_refineable_elements.h:90
unsigned nnode_1d() const
Definition: hp_refineable_elements.h:95
PRefineableQElement()
Constructor.
Definition: hp_refineable_elements.h:57
virtual ~PRefineableQElement()
Destructor.
Definition: hp_refineable_elements.h:152
void further_setup_hanging_nodes()
Definition: hp_refineable_elements.h:182
PRefineableQElement()
Constructor.
Definition: hp_refineable_elements.h:149
unsigned nnode_1d() const
Definition: hp_refineable_elements.h:187
unsigned initial_p_order() const
Get the initial P_order.
Definition: hp_refineable_elements.h:193
virtual ~PRefineableQElement()
Destructor.
Definition: hp_refineable_elements.h:253
void further_setup_hanging_nodes()
Definition: hp_refineable_elements.h:283
unsigned initial_p_order() const
Get the initial P_order.
Definition: hp_refineable_elements.h:294
unsigned nnode_1d() const
Definition: hp_refineable_elements.h:288
PRefineableQElement()
Constructor.
Definition: hp_refineable_elements.h:250
Definition: Qelements.h:2274
Definition: Qelements.h:459
Definition: Qelements.h:2259
RealScalar s
Definition: level1_cplx_impl.h:130
double max_error
Definition: MortaringCantileverCompareToNonMortaring.cpp:188
void shape(const double &s, double *Psi)
Definition: shape.h:564
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).
Definition: AnisotropicHookean.h:10