Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91960821
domain_akantu_static.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
Sat, Nov 16, 04:01
Size
2 KB
Mime Type
text/x-c++
Expires
Mon, Nov 18, 04:01 (2 d)
Engine
blob
Format
Raw Data
Handle
22348588
Attached To
rLIBMULTISCALE LibMultiScale
domain_akantu_static.hh
View Options
/**
* @file domain_akantu_static.hh
*
* @author Till Junge <till.junge@epfl.ch>
*
* @date Sun Jun 29 20:29:15 2014
*
* @brief This is the Akantu implementation for static solves
*
* @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_STATIC_HH__
#define __DD2D_DOMAIN_AKANTU_STATIC_HH__
/* -------------------------------------------------------------------------- */
#include "domain_akantu.hh"
/* -------------------------------------------------------------------------- */
__BEGIN_LIBMULTISCALE__
template
<
UInt
Dim
>
class
DomainAkantuStatic
:
public
virtual
DomainAkantu
<
Dim
>
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
DomainAkantuStatic
(
DomainID
ID
,
CommGroup
GID
);
virtual
~
DomainAkantuStatic
();
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
void
init
();
void
performStep1
();
void
performStep2
();
void
performStep3
();
void
declareParams
();
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public
:
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
private
:
bool
LMsolveStep
(
Real
tolerance
,
UInt
max_iteration
,
Real
&
error
,
Real
&
initial_error
,
UInt
&
niter
);
void
LMupdateResidual
();
protected
:
bool
nonlinear
;
Real
tolerance
;
UInt
max_iter
;
Real
mass_sum
;
private
:
bool
first_solve
;
};
__END_LIBMULTISCALE__
#endif
/* __DD2D_DOMAIN_AKANTU_STATIC_HH__ */
Event Timeline
Log In to Comment