MarmotDofLayoutTools.h
Go to the documentation of this file.
1 /* ---------------------------------------------------------------------
2  * _
3  * _ __ ___ __ _ _ __ _ __ ___ ___ | |_
4  * | '_ ` _ \ / _` | '__| '_ ` _ \ / _ \| __|
5  * | | | | | | (_| | | | | | | | | (_) | |_
6  * |_| |_| |_|\__,_|_| |_| |_| |_|\___/ \__|
7  *
8  * Unit of Strength of Materials and Structural Analysis
9  * University of Innsbruck,
10  * 2020 - today
11  *
12  * festigkeitslehre@uibk.ac.at
13  *
14  * Matthias Neuner matthias.neuner@uibk.ac.at
15  *
16  * This file is part of the MAteRialMOdellingToolbox (marmot).
17  *
18  * This library is free software; you can redistribute it and/or
19  * modify it under the terms of the GNU Lesser General Public
20  * License as published by the Free Software Foundation; either
21  * version 2.1 of the License, or (at your option) any later version.
22  *
23  * The full text of the license can be found in the file LICENSE.md at
24  * the top level directory of marmot.
25  * ---------------------------------------------------------------------
26  */
27 #pragma once
28 #include "Marmot/MarmotTypedefs.h"
29 #include <map>
30 #include <vector>
31 
32 namespace Marmot {
33 
34  namespace FiniteElement {
35 
36  const std::vector< std::vector< std::string > > makeNodeFieldLayout(
37  const std::map< std::string, std::pair< int, int > >& fieldSizes );
38 
40  const std::vector< std::vector< std::string > >& nodeFields,
41  const std::map< std::string, std::pair< int, int > >& fieldSizes );
42 
43  } // namespace FiniteElement
44 } // namespace Marmot
Marmot::FiniteElement::makeNodeFieldLayout
const std::vector< std::vector< std::string > > makeNodeFieldLayout(const std::map< std::string, std::pair< int, int > > &fieldSizes)
MarmotTypedefs.h
Marmot::FiniteElement::makeBlockedLayoutPermutationPattern
std::vector< int > makeBlockedLayoutPermutationPattern(const std::vector< std::vector< std::string > > &nodeFields, const std::map< std::string, std::pair< int, int > > &fieldSizes)
Marmot
This file includes functions needed for calculations with stress and strain tensors written in voigt ...
Definition: MarmotTesting.h:30