https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowConnectedNodesTest.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "gtest/gtest.h"
14
15class PorousFlowConnectedNodesTest : public ::testing::Test
16{
17protected:
18 void SetUp()
19 {
23 _n1.addGlobalNode(123);
24 _n1.addGlobalNode(1234);
26 _n1.addConnection(1, 1);
27 _n1.addConnection(1, 12);
28 _n1.addConnection(1, 123);
29 _n1.addConnection(1, 123);
30 _n1.addConnection(1, 1234);
31 _n1.addConnection(123, 1234);
32 _n1.addConnection(12, 1234);
34
39 }
40
43};
Class designed to hold node ID information and information about nodal connectivity.
void finalizeAddingConnections()
Signal that all global node IDs have been added to the internal data structures.
void addConnection(dof_id_type global_node_from, dof_id_type global_node_to)
Specifies that global_node_to is connected to global_node_from.
void finalizeAddingGlobalNodes()
Signal that all global node IDs have been added to the internal data structures.
void addGlobalNode(dof_id_type global_node_ID)
Add the given global_node_ID to the internal data structures If the global node ID has already been a...