Memosa-FVM
0.2
Main Page
Namespaces
Classes
Files
File List
File Members
ContactFields.h
Go to the documentation of this file.
1
// This file os part of FVM
2
// Copyright (c) 2012 FVM Authors
3
// See LICENSE file for terms.
4
5
#ifndef _CONTACTFIELDS_H_
6
#define _CONTACTFIELDS_H_
7
#include "
StorageSite.h
"
8
#include "
Vector.h
"
9
#include "
FloatVarDict.h
"
10
#include "
Field.h
"
11
#include "
FieldLabel.h
"
12
13
14
template
<
class
T>
15
struct
ContactModelConstants
:
public
FloatVarDict
<T>
16
{
17
ContactModelConstants
()
18
{
19
this->
defineVar
(
"gap"
, T(3.0e-6));
20
this->
defineVar
(
"thickness"
, T(2.0e-6));
21
}
22
};
23
24
struct
ContactFields
25
{
26
27
ContactFields
(
const
string
baseName);
28
29
Field
force
;
30
};
31
32
33
34
35
#endif
Field
Definition:
Field.h:14
FieldLabel.h
ContactModelConstants
Definition:
ContactFields.h:15
ContactFields::ContactFields
ContactFields(const string baseName)
Definition:
ContactFields.cpp:7
FloatVarDict::defineVar
void defineVar(const string varName, const T defaultValue)
Definition:
FloatVarDict.h:94
StorageSite.h
FloatVarDict.h
Vector.h
Field.h
ContactFields::force
Field force
Definition:
ContactFields.h:29
FloatVarDict
Definition:
FloatVarDict.h:45
ContactModelConstants::ContactModelConstants
ContactModelConstants()
Definition:
ContactFields.h:17
ContactFields
Definition:
ContactFields.h:24
src
modules
fvmbase
ContactFields.h
Generated on Tue Oct 28 2014 17:45:14 for Memosa-FVM by
1.8.6