FEltSpace.cpp 5.39 KB
Newer Older
GILLES Sebastien's avatar
GILLES Sebastien committed
1 2 3 4 5 6 7 8 9 10 11 12 13
/*!
//
// \file
//
//
// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Tue, 24 Mar 2015 11:47:43 +0100
// Copyright (c) Inria. All rights reserved.
//
// \ingroup CoreGroup
// \addtogroup CoreGroup
// \{
*/

14

15
#include "Utilities/String/EmptyString.hpp"
16

17
#include "Core/InputData/Instances/FElt/Impl/FEltSpace.hpp"
18 19


20

21
namespace MoReFEM
22 23 24
{
    
    
25
    namespace InputDataNS
26 27 28
    {
        
        
29
        namespace Impl
30 31 32
        {
            
            
33
            namespace FEltSpaceNS
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
            {
                
                
                const std::string& GodOfDofIndex::NameInFile()
                {
                    static std::string ret("god_of_dof_index");
                    return ret;
                }
                
                
                const std::string& GodOfDofIndex::Description()
                {
                    static std::string ret("Index of the god of dof into which the finite element space is defined.");
                    return ret;
                }
                
                
                const std::string& GodOfDofIndex::Constraint()
                {
53
                    return Utilities::EmptyString();
54 55 56 57 58 59
                }
                
                
                
                const std::string& GodOfDofIndex::DefaultValue()
                {
60
                    return Utilities::EmptyString();
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
                }
                
                
                const std::string& DomainIndex::NameInFile()
                {
                    static std::string ret("domain_index");
                    return ret;
                }
                
                
                const std::string& DomainIndex::Description()
                {
                    static std::string ret("Index of the domain onto which the finite element space is defined. "
                                           "This domain must be unidimensional.");
                    
                    return ret;
                }
                
                
                const std::string& DomainIndex::Constraint()
                {
82
                    return Utilities::EmptyString();
83
                }
84

85 86 87
                
                const std::string& DomainIndex::DefaultValue()
                {
88
                    return Utilities::EmptyString();
89 90 91
                }
                
                
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
                const std::string& UnknownList::NameInFile()
                {
                    static std::string ret("unknown_list");
                    return ret;
                }
                
                
                const std::string& UnknownList::Description()
                {
                    static std::string ret("List of all unknowns defined in the finite element space. "
                                           "Unknowns here must be defined in this file as an 'Unknown' block; "
                                           "expected name/identifier is the name given there.");
                    
                    return ret;
                }
                
                
                const std::string& UnknownList::Constraint()
                {
                    return Utilities::EmptyString();
                }
                
                
                const std::string& UnknownList::DefaultValue()
                {
                    return Utilities::EmptyString();
                }
119 120
                
                
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
                const std::string& ShapeFunctionList::NameInFile()
                {
                    static std::string ret("shape_function_list");
                    return ret;
                }
                
                
                const std::string& ShapeFunctionList::Description()
                {
                    static std::string ret("List of the shape function to use for each unknown;");
                    return ret;
                }
                
                
                const std::string& ShapeFunctionList::Constraint()
                {
                    return Utilities::EmptyString();
                }
                
                
                const std::string& ShapeFunctionList::DefaultValue()
                {
                    return Utilities::EmptyString();
                }

                
                
148 149 150 151 152 153 154 155 156
                const std::string& NumberingSubsetList::NameInFile()
                {
                    static std::string ret("numbering_subset_list");
                    return ret;
                }
                
                
                const std::string& NumberingSubsetList::Description()
                {
157
                    static std::string ret("List of the numbering subset to use for each unknown;");                    
158 159 160 161 162 163 164 165 166 167 168 169 170 171
                    return ret;
                }
                
                
                const std::string& NumberingSubsetList::Constraint()
                {
                    return Utilities::EmptyString();
                }
                
                
                const std::string& NumberingSubsetList::DefaultValue()
                {
                    return Utilities::EmptyString();
                }
172 173 174

                
                
175
            } // namespace FEltSpaceNS
176 177
            
            
178
        } // namespace Impl
179 180
        
        
181
    } // namespace InputDataNS
182 183
  

184
} // namespace MoReFEM
185 186 187


/// @} // addtogroup CoreGroup