Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91943050
domain_akantu_dynamic.hh
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
Fri, Nov 15, 23:54
Size
3 KB
Mime Type
text/x-c++
Expires
Sun, Nov 17, 23:54 (2 d)
Engine
blob
Format
Raw Data
Handle
22351397
Attached To
rLIBMULTISCALE LibMultiScale
domain_akantu_dynamic.hh
View Options
/**
* @file domain_akantu_dynamic.hh
*
* @author Till Junge <till.junge@epfl.ch>
*
* @date Wed Jan 22 17:41:05 2014
*
* @brief This is the model wrapping Akantu in its dynamic solve
*
* @section LICENSE
*
* Copyright (©) 2010-2011 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* LibMultiScale is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* LibMultiScale is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with LibMultiScale. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef __DD2D_DOMAIN_AKANTU_DYNAMIC_HH__
#define __DD2D_DOMAIN_AKANTU_DYNAMIC_HH__
/* -------------------------------------------------------------------------- */
#include "domain_akantu.hh"
/* -------------------------------------------------------------------------- */
__BEGIN_LIBMULTISCALE__
template
<
UInt
Dim
>
class
DomainAkantuDynamic
:
public
virtual
DomainAkantu
<
Dim
>
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
/* ------------------------------------------------------------------------ */
/* Typedefs */
/* ------------------------------------------------------------------------ */
//! type definition for points
// typedef FilterMesh<DomainAkantu, Dim> FilterPoint;
//! type definition for vectors (template entry)
typedef
VecAkantu
_Vec_
;
DomainAkantuDynamic
(
DomainID
ID
,
CommGroup
GID
);
virtual
~
DomainAkantuDynamic
();
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
//! init function
virtual
void
init
();
//! init heat transfer model
void
initHeatTransfer
();
//! get temperature
_Vec_
&
getT
(){
return
*
temperature
;};
//! get temperature gradient
_Vec_
&
getTVar
(){
LM_TOIMPLEMENT
;};
//! get heat flux
_Vec_
&
getHeatFlux
(){
return
*
heat_flux
;};
void
performStep1
();
void
performStep2
();
void
performStep3
();
void
declareParams
();
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public
:
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
protected
:
//! Akantu heat model
akantu
::
HeatTransferModel
*
heat_transfer_model
;
//! filename from which to load the material object
std
::
string
heat_transfer_material_filename
;
//! flag to switch heat transfer model
bool
heat_transfer_flag
;
//! temperature
_Vec_
*
temperature
;
//! temperature rate
_Vec_
*
temperature_rate
;
//! heat flux
_Vec_
*
heat_flux
;
//! dirichlet boundary geometry for heat model
GeomID
heat_boundary_geom
;
};
__END_LIBMULTISCALE__
#endif
/* __DD2D_DOMAIN_AKANTU_DYNAMIC_HH__ */
Event Timeline
Log In to Comment