Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
138c15d3
Commit
138c15d3
authored
Mar 01, 2019
by
Praetorius, Simon
Browse files
Merge branch 'issue/doxygen_documentation' into 'develop'
improved doxygen documentation See merge request spraetor/dune-amdis!92
parents
067e396b
53d64ebf
Changes
6
Hide whitespace changes
Inline
Side-by-side
doc/doxygen/Doxylocal
View file @
138c15d3
...
...
@@ -28,13 +28,13 @@ PREDEFINED += HAVE_UMFPACK \
# with spaces.
INPUT += @top_srcdir@/src/amdis \
@top_srcdir@/src/amdis/assembler \
@top_srcdir@/src/amdis/common \
@top_srcdir@/src/amdis/gridfunctions \
@top_srcdir@/src/amdis/io \
@top_srcdir@/src/amdis/linearalgebra \
@top_srcdir@/src/amdis/linearalgebra/mtl \
@top_srcdir@/src/amdis/localoperators \
@top_srcdir@/src/amdis/operations \
@top_srcdir@/src/amdis/typetree \
@top_srcdir@/src/amdis/utility \
@top_srcdir@/doc
# see e.g. dune-grid for the examples of mainpage and modules
...
...
src/amdis/DataTransfer.hpp
View file @
138c15d3
...
...
@@ -6,12 +6,18 @@
namespace
AMDiS
{
/**
* \addtogroup Adaption
* @{
**/
typedef
enum
{
NO_OPERATION
=
0
,
INTERPOLATE
=
1
}
DataTransferOperation
;
/// \brief Interface for Containers allowing data transfer between grid changes.
template
<
class
Container
>
class
DataTransferInterface
{
...
...
@@ -27,8 +33,10 @@ namespace AMDiS
};
/// Implementation of \ref DataTransferInterface that does not interpolation, but
/// just resizes the containers to the dimension of the basis
/**
* \brief Implementation of \ref DataTransferInterface that does not interpolate, but
* just resizes the containers to the dimension of the basis
**/
template
<
class
Container
>
class
NoDataTransfer
:
public
DataTransferInterface
<
Container
>
...
...
@@ -69,6 +77,8 @@ namespace AMDiS
}
};
/// @}
}
// end namespace AMDiS
#include
"DataTransfer.inc.hpp"
src/amdis/GridFunctionOperator.hpp
View file @
138c15d3
...
...
@@ -198,6 +198,7 @@ namespace AMDiS
};
#ifndef DOXYGEN
template
<
class
Tag
,
class
PreGridFct
,
class
PreQuadFactory
>
struct
PreGridFunctionOperator
{
...
...
@@ -205,6 +206,7 @@ namespace AMDiS
PreGridFct
expr
;
PreQuadFactory
quadFactory
;
};
#endif
/// Store tag and expression into a \ref PreGridFunctionOperator to create a \ref GridFunctionOperator
template
<
class
Tag
,
class
Expr
,
class
...
QuadratureArgs
>
...
...
src/amdis/GridTransfer.hpp
View file @
138c15d3
...
...
@@ -7,6 +7,12 @@
namespace
AMDiS
{
/**
* \addtogroup Adaption
* @{
**/
/// \brief Interface for transfer between grid changes to be registered in a \ref GridTransferManager
class
GridTransferInterface
{
public:
...
...
@@ -17,10 +23,10 @@ namespace AMDiS
virtual
bool
preAdapt
()
=
0
;
virtual
bool
adapt
()
=
0
;
virtual
void
postAdapt
()
=
0
;
};
/// \brief Implementation of \ref GridTransferInterface for concrete Grid type.
template
<
class
Grid
>
class
GridTransfer
:
public
GridTransferInterface
...
...
@@ -100,4 +106,6 @@ namespace AMDiS
unsigned
long
changeIndex_
=
0
;
};
/// @}
}
// end namespace AMDiS
src/amdis/GridTransferManager.hpp
View file @
138c15d3
...
...
@@ -9,6 +9,11 @@
namespace
AMDiS
{
/**
* \addtogroup Adaption
* @{
**/
/// Static administration class for automatic handling of DOFVectors during grid adaption
class
GridTransferManager
{
...
...
@@ -93,4 +98,6 @@ namespace AMDiS
using
GridTransferCache
=
ConcurrentCache
<
Key
,
Data
,
StaticLockedPolicy
,
std
::
map
<
Key
,
Data
>
>
;
};
/// @}
}
// end namespace AMDiS
src/amdis/localoperators/ConvectionDiffusionOperator.hpp
View file @
138c15d3
...
...
@@ -213,6 +213,7 @@ namespace AMDiS
GridFctF
gridFctF_
;
};
#ifndef DOXYGEN
template
<
class
PreGridFctA
,
class
PreGridFctB
,
class
PreGridFctC
,
class
PreGridFctF
,
class
c
>
struct
PreConvectionDiffusionOperator
{
...
...
@@ -222,6 +223,8 @@ namespace AMDiS
PreGridFctC
gridFctC
;
PreGridFctF
gridFctF
;
};
#endif
template
<
class
PreGridFctA
,
class
PreGridFctB
,
class
PreGridFctC
,
class
PreGridFctF
,
bool
conserving
=
true
>
auto
convectionDiffusion
(
PreGridFctA
const
&
gridFctA
,
PreGridFctB
const
&
gridFctB
,
...
...
@@ -232,6 +235,8 @@ namespace AMDiS
return
Pre
{
gridFctA
,
gridFctB
,
gridFctC
,
gridFctF
};
}
#ifndef DOXYGEN
template
<
class
Context
,
class
...
T
,
class
GridView
>
auto
makeLocalOperator
(
PreConvectionDiffusionOperator
<
T
...
>
pre
,
GridView
const
&
gridView
)
{
...
...
@@ -247,6 +252,7 @@ namespace AMDiS
GridFctOp
localOperator
{
std
::
move
(
gridFctA
),
std
::
move
(
gridFctB
),
std
::
move
(
gridFctC
),
std
::
move
(
gridFctF
)};
return
localOperator
;
}
#endif
/** @} **/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment