suanPan
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
Variables
Typedefs
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Related Symbols
c
g
o
p
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Variables
s
Typedefs
a
b
c
d
e
g
i
l
m
n
o
r
s
t
Enumerations
Enumerator
Macros
▼
suanPan
Changelog
Contributor Covenant Code of Conduct
Contribution
►
Topics
►
Namespaces
►
Concepts
►
Classes
▼
Files
▼
File List
►
Checker
▼
Constraint
►
BC
▼
Criterion
ComplementaryEnergyEvolution.cpp
ComplementaryEnergyEvolution.h
Criterion.cpp
Criterion.h
EnergyEvolution.cpp
EnergyEvolution.h
LogicCriterion.cpp
LogicCriterion.h
MaxDisplacement.cpp
MaxDisplacement.h
MaxHistory.cpp
MaxHistory.h
MaxResistance.cpp
MaxResistance.h
MinDisplacement.cpp
MinDisplacement.h
MinResistance.cpp
MinResistance.h
NodeBasedCriterion.cpp
NodeBasedCriterion.h
StrainEnergyEvolution.cpp
StrainEnergyEvolution.h
►
Constraint.cpp
►
Constraint.h
►
ConstraintParser.cpp
►
ConstraintParser.h
Embed.cpp
Embed.h
FixedLength.cpp
FixedLength.h
LinearSpring2D.cpp
LinearSpring2D.h
LJPotential2D.cpp
LJPotential2D.h
MPC.cpp
MPC.h
NodeFacet.cpp
NodeFacet.h
NodeLine.cpp
NodeLine.h
ParticleCollision.cpp
ParticleCollision.h
ParticleCollision2D.cpp
ParticleCollision2D.h
ParticleCollision3D.cpp
ParticleCollision3D.h
RestitutionWallPenalty.cpp
RestitutionWallPenalty.h
RigidWallMultiplier.cpp
RigidWallMultiplier.h
RigidWallPenalty.cpp
►
RigidWallPenalty.h
►
Converger
►
Database
►
Developer
►
Domain
►
Element
►
Enhancement
►
Load
►
Material
►
MPI
►
Recorder
►
Resource
►
Section
►
Solver
►
Step
►
Toolbox
►
UnitTest
►
suanPan.cpp
►
suanPan.h
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
Criterion.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright (C) 2017-2024 Theodore Chang
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
******************************************************************************/
31
#ifndef CRITERION_H
32
#define CRITERION_H
33
34
#include <
Domain/Tag.h
>
35
36
class
DomainBase
;
37
38
class
Criterion
:
public
Tag
{
39
unsigned
step_tag;
40
41
public
:
42
explicit
Criterion
(
unsigned
= 0,
unsigned
= 0);
43
~Criterion
()
override
=
default
;
44
45
void
set_step_tag
(
unsigned
);
46
[[nodiscard]]
unsigned
get_step_tag
()
const
;
47
48
virtual
unique_ptr<Criterion>
get_copy
() = 0;
49
50
virtual
int
initialize
(
const
shared_ptr<DomainBase>&);
51
52
virtual
int
process
(
const
shared_ptr<DomainBase>&) = 0;
53
};
38
class
Criterion
:
public
Tag
{
…
};
54
55
#endif
56
Tag.h
Criterion
A Criterion class.
Definition
Criterion.h:38
Criterion::set_step_tag
void set_step_tag(unsigned)
Definition
Criterion.cpp:25
Criterion::get_copy
virtual unique_ptr< Criterion > get_copy()=0
Criterion::~Criterion
~Criterion() override=default
Criterion::initialize
virtual int initialize(const shared_ptr< DomainBase > &)
Definition
Criterion.cpp:29
Criterion::Criterion
Criterion(unsigned=0, unsigned=0)
Definition
Criterion.cpp:21
Criterion::get_step_tag
unsigned get_step_tag() const
Definition
Criterion.cpp:27
Criterion::process
virtual int process(const shared_ptr< DomainBase > &)=0
DomainBase
The DomainBase class is a template.
Definition
DomainBase.h:104
Tag
A base Tag class.
Definition
Tag.h:38
Constraint
Criterion
Criterion.h
Generated by
1.10.0