46 for (
unsigned l = 0; l < n_pres; l++)
68 for (
unsigned i = 0;
i < 3;
i++)
74 unsigned n_node = this->
nnode();
75 for (
unsigned n = 0; n < n_node; n++)
79 for (
unsigned i = 0;
i < 3;
i++)
81 paired_load_data.insert(std::make_pair(this->
node_pt(n), u_index[
i]));
101 std::set<std::pair<Data*, unsigned>>& paired_pressure_data)
105 for (
unsigned l = 0; l < n_internal; l++)
109 for (
unsigned j = 0; j < nval; j++)
111 paired_pressure_data.insert(
140 unsigned n_node = this->
nnode();
142 for (
unsigned l = 0; l < n_node; l++)
144 if (this->
node_pt(l)->nvalue() == 3 + 1)
161 unsigned n_node = this->
nnode();
162 for (
unsigned n = 0; n < n_node; n++)
164 if (this->
node_pt(n)->nvalue() == 3 + 1)
179 for (
unsigned l = 0; l < n_pres; l++)
200 std::set<std::pair<Data*, unsigned>>& paired_load_data)
203 unsigned n_node = this->
nnode();
204 for (
unsigned n = 0; n < n_node; n++)
208 for (
unsigned i = 0;
i < 3;
i++)
210 paired_load_data.insert(std::make_pair(this->
node_pt(n),
i));
229 std::set<std::pair<Data*, unsigned>>& paired_load_data)
233 for (
unsigned l = 0; l < n_pres; l++)
237 paired_load_data.insert(std::make_pair(this->
node_pt(
Pconv[l]), 3));
void pin(const unsigned &i)
Pin the i-th stored variable.
void unpin(const unsigned &i)
Unpin the i-th stored variable.
unsigned nvalue() const
Return number of values stored in data object (incl pinned ones).
Node *& node_pt(const unsigned &n)
Return a pointer to the local node n.
unsigned nnode() const
Return the number of nodes.
Data *& internal_data_pt(const unsigned &i)
Return a pointer to i-th internal data object.
unsigned ninternal_data() const
Return the number of internal data objects.
virtual unsigned u_index_axi_nst(const unsigned &i) const
Return the index at which the i-th unknown velocity component is stored. The default value,...
void unpin_all_internal_pressure_dofs()
Unpin all internal pressure dofs.
void identify_load_data(std::set< std::pair< Data *, unsigned >> &paired_load_data)
Add to the set paired_load_data pairs of pointers to data objects and unsignedegers that index the va...
void identify_pressure_data(std::set< std::pair< Data *, unsigned >> &paired_pressure_data)
Add to the set paired_pressure_data pairs containing.
unsigned P_axi_nst_internal_index
Internal index that indicates at which internal datum the pressure is stored.
unsigned npres_axi_nst() const
Return number of pressure values.
static const unsigned Initial_Nvalue[]
Static array of ints to hold number of variables at node.
void identify_pressure_data(std::set< std::pair< Data *, unsigned >> &paired_pressure_data)
Add to the set paired_pressure_data pairs containing.
void unpin_proper_nodal_pressure_dofs()
Unpin the proper nodal pressure dofs.
void unpin_all_nodal_pressure_dofs()
Unpin all pressure dofs.
static const unsigned Pconv[]
Static array of ints to hold conversion from pressure node numbers to actual node numbers.
void pin_all_nodal_pressure_dofs()
Pin all nodal pressure dofs.
unsigned npres_axi_nst() const
Return number of pressure values.
void identify_load_data(std::set< std::pair< Data *, unsigned >> &paired_load_data)
Add to the set paired_load_data pairs containing.
Nodes are derived from Data, but, in addition, have a definite (Eulerian) position in a space of a gi...
bool is_hanging() const
Test whether the node is geometrically hanging.
//////////////////////////////////////////////////////////////////// ////////////////////////////////...