xc
src
preprocessor
PreprocessorContainer.h
1
//----------------------------------------------------------------------------
2
// XC program; finite element analysis code
3
// for structural analysis and design.
4
//
5
// Copyright (C) Luis Claudio Pérez Tato
6
//
7
// This program derives from OpenSees <http://opensees.berkeley.edu>
8
// developed by the «Pacific earthquake engineering research center».
9
//
10
// Except for the restrictions that may arise from the copyright
11
// of the original program (see copyright_opensees.txt)
12
// XC is free software: you can redistribute it and/or modify
13
// it under the terms of the GNU General Public License as published by
14
// the Free Software Foundation, either version 3 of the License, or
15
// (at your option) any later version.
16
//
17
// This software is distributed in the hope that it will be useful, but
18
// WITHOUT ANY WARRANTY; without even the implied warranty of
19
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
// GNU General Public License for more details.
21
//
22
//
23
// You should have received a copy of the GNU General Public License
24
// along with this program.
25
// If not, see <http://www.gnu.org/licenses/>.
26
//----------------------------------------------------------------------------
27
//PreprocessorContainer.h
28
29
#ifndef PREPROCESSORCONTAINER_H
30
#define PREPROCESSORCONTAINER_H
31
32
#include "xc_utils/src/kernel/CommandEntity.h"
33
34
namespace
XC
{
35
class
Domain;
36
class
Preprocessor;
37
39
//
43
class
PreprocessorContainer
:
public
CommandEntity
44
{
45
friend
class
Preprocessor
;
46
Preprocessor
*preprocessor;
47
public
:
48
PreprocessorContainer
(
Preprocessor
*owr);
49
const
Domain
*
getDomain
(
void
)
const
;
50
Domain
*
getDomain
(
void
);
51
53
inline
Preprocessor
*
getPreprocessor
(
void
)
54
{
return
preprocessor; }
56
inline
const
Preprocessor
*
getPreprocessor
(
void
)
const
57
{
return
preprocessor; }
58
void
checkPreprocessor(
void
);
59
};
60
61
}
// end of XC namespace
62
63
#endif
XC::Preprocessor
Finite element model generation tools.
Definition:
Preprocessor.h:58
XC::PreprocessorContainer::getPreprocessor
Preprocessor * getPreprocessor(void)
Returns a pointer to the object preprocessor.
Definition:
PreprocessorContainer.h:53
XC::PreprocessorContainer::PreprocessorContainer
PreprocessorContainer(Preprocessor *owr)
Default constructor.
Definition:
PreprocessorContainer.cc:37
XC::PreprocessorContainer::getDomain
const Domain * getDomain(void) const
Returns the domain.
Definition:
PreprocessorContainer.cc:41
XC::PreprocessorContainer::getPreprocessor
const Preprocessor * getPreprocessor(void) const
Returns a pointer to the object preprocessor.
Definition:
PreprocessorContainer.h:56
XC::PreprocessorContainer
Base class for preprocessor containers i.
Definition:
PreprocessorContainer.h:43
XC
Open source finite element program for structural analysis.
Definition:
ContinuaReprComponent.h:34
XC::Domain
Domain (mesh and boundary conditions) of the finite element model.
Definition:
Domain.h:116
Generated by
1.8.12