Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81622796
WeakEquationChargeDiffusion.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
Sat, Sep 7, 02:25
Size
916 B
Mime Type
text/x-c
Expires
Mon, Sep 9, 02:25 (2 d)
Engine
blob
Format
Raw Data
Handle
20600709
Attached To
rLAMMPS lammps
WeakEquationChargeDiffusion.h
View Options
#ifndef WEAK_EQUATION_CHARGE_DIFFUSION_H
#define WEAK_EQUATION_CHARGE_DIFFUSION_H
#include <set>
#include <string>
#include "WeakEquation.h"
namespace
ATC
{
/**
* @class WeakEquationChargeDiffusion
* @brief Charge density computation
* int M q = sum_s N q_s
*/
class
WeakEquationChargeDiffusion
:
public
WeakEquation
{
public:
// constructor
WeakEquationChargeDiffusion
();
// destructor
virtual
~
WeakEquationChargeDiffusion
();
/** density that used to form the mass matrix */
virtual
bool
has_M_integrand
(
void
)
const
{
return
true
;}
virtual
void
M_integrand
(
const
FIELD_MATS
&
fields
,
const
Material
*
material
,
DENS_MAT
&
density
)
const
;
/** necessary interfaces */
virtual
std
::
set
<
std
::
string
>
needs_material_functions
(
void
)
const
{
std
::
set
<
std
::
string
>
needs
;
return
needs
;
}
};
};
#endif
Event Timeline
Log In to Comment