Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100807099
DynamicsPeriodicLinearStrain.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Feb 2, 22:36
Size
1 KB
Mime Type
text/x-c++
Expires
Tue, Feb 4, 22:36 (2 d)
Engine
blob
Format
Raw Data
Handle
24035450
Attached To
rGOOSEFEM GooseFEM
DynamicsPeriodicLinearStrain.h
View Options
/* ========================================== DESCRIPTION ==========================================
(c - GPLv3) T.W.J. de Geus (Tom) | tom@geus.me | www.geus.me | github.com/tdegeus/GooseFEM
================================================================================================= */
#include <memory>
#include "Macros.h"
namespace
GooseFEM
{
namespace
Dynamics
{
namespace
Periodic
{
namespace
LinearStrain
{
template
<
class
Material
,
class
Element
>
class
Simulation
{
private:
std
::
shared_ptr
<
Material
>
m_mat
;
std
::
shared_ptr
<
Element
>
m_el
;
public:
Simulation
(
std
::
shared_ptr
<
Material
>
mat
,
std
::
shared_ptr
<
Element
>
el
);
};
// =================================================================================================
template
<
class
M
,
class
E
>
Simulation
<
M
,
E
>::
Simulation
(
std
::
shared_ptr
<
M
>
mat
,
std
::
shared_ptr
<
E
>
el
)
{
m_mat
=
mat
;
m_el
=
el
;
}
// =================================================================================================
// =================================================================================================
}
// namespace LinearStrain
}
// namespace Periodic
}
// namespace Dynamics
}
// namespace GooseFEM
Event Timeline
Log In to Comment