Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_STK_CustomMeshFactory.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Panzer: A partial differential equation assembly
4// engine for strongly coupled complex multiphysics systems
5//
6// Copyright 2011 NTESS and the Panzer contributors.
7// SPDX-License-Identifier: BSD-3-Clause
8// *****************************************************************************
9// @HEADER
10
11#ifndef __Panzer_STK_CustomMeshFactory_hpp__
12#define __Panzer_STK_CustomMeshFactory_hpp__
13
14#include <Panzer_Traits.hpp> // for panzer::GlobalOrdinal
17
18namespace panzer_stk {
19
20 class STK_Interface;
21
26 public:
29
31 virtual ~CustomMeshFactory();
32
34 Teuchos::RCP<STK_Interface> buildMesh(stk::ParallelMachine parallelMach) const;
35
36 virtual Teuchos::RCP<STK_Interface> buildUncommitedMesh(stk::ParallelMachine parallelMach) const;
37 virtual void completeMeshConstruction(STK_Interface & mesh,stk::ParallelMachine parallelMach) const;
38
40 void setParameterList(const Teuchos::RCP<Teuchos::ParameterList> & paramList);
41
43 Teuchos::RCP<const Teuchos::ParameterList> getValidParameters() const;
44
45 protected:
47
48 void buildMetaData(STK_Interface & mesh) const;
49
50 void buildElements(STK_Interface & mesh) const;
51 void addSideSets(STK_Interface & mesh) const;
52
53 void fillSolutionFieldData(STK_Interface & mesh) const;
54
56
58
60 int *Nodes_;
61
62 double *Coords_;
63
67
69
72
73 mutable unsigned int machRank_, machSize_;
74 };
75
76}
77
78#endif
void buildMetaData(STK_Interface &mesh) const
void addSideSets(STK_Interface &mesh) const
void fillSolutionFieldData(STK_Interface &mesh) const
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > &paramList)
From ParameterListAcceptor.
virtual void completeMeshConstruction(STK_Interface &mesh, stk::ParallelMachine parallelMach) const
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
From ParameterListAcceptor.
virtual Teuchos::RCP< STK_Interface > buildUncommitedMesh(stk::ParallelMachine parallelMach) const
void buildElements(STK_Interface &mesh) const
Teuchos::RCP< STK_Interface > buildMesh(stk::ParallelMachine parallelMach) const
Build the mesh object.