 |
Ice Sheet System Model
4.18
Code documentation
|
Go to the documentation of this file.
10 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
16 #include "../datastructures/datastructures.h"
20 #include "../modules/SurfaceAreax/SurfaceAreax.h"
21 #include "../classes/Params/Parameters.h"
22 #include "../classes/gauss/Gauss.h"
43 this->
name = xNew<char>(strlen(in_name)+1);
44 xMemCpy<char>(this->
name,in_name,strlen(in_name)+1);
82 _error_(
"not implemented yet!");
95 char* name2=xNew<char>(strlen(this->
name)+1);
125 int domaintype,numcomponents;
143 default:
_error_(
"not supported yet");
158 for(
int ig=gauss->
begin();ig<gauss->end();ig++){
170 Jelem+=weight*.5*dp[0]*dp[0]*Jdet*gauss->
weight;
171 if(numcomponents==2) Jelem+=weight*.5*dp[1]*dp[1]*Jdet*gauss->
weight;
176 xDelete<IssmDouble>(xyz_list);
@ FrictionCoefficientEnum
IssmDouble Cfdragcoeffabsgrad_Calculation(Element *element, int weights_enum)
int ISSM_MPI_Allreduce(void *sendbuf, void *recvbuf, int count, ISSM_MPI_Datatype datatype, ISSM_MPI_Op op, ISSM_MPI_Comm comm)
void FindParam(bool *pvalue, int paramenum)
#define _printf_(StreamArgs)
static ISSM_MPI_Comm GetComm(void)
virtual Element * SpawnBasalElement(void)=0
virtual Input2 * GetInput2(int inputenum)=0
void DeleteMaterials(void)
virtual DatasetInput2 * GetDatasetInput2(int inputenum)
abstract class for Element object This class is a place holder for the Tria and the Penta elements....
virtual Gauss * NewGauss(void)=0
IssmDouble Response(FemModel *femmodel)
const char * EnumToStringx(int enum_in)
abstract class for ExternalResult object
void GetVerticesCoordinates(IssmDouble **xyz_list)
int ISSM_MPI_Bcast(void *buffer, int count, ISSM_MPI_Datatype datatype, int root, ISSM_MPI_Comm comm)
#define _error_(StreamArgs)
virtual int begin(void)=0
Object * GetObjectByOffset(int offset)
@ WeightsSurfaceObservationEnum
virtual void JacobianDeterminant(IssmDouble *Jdet, IssmDouble *xyz_list, Gauss *gauss)=0
virtual void GaussPoint(int ig)=0
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
T * xMemCpy(T *dest, const T *src, unsigned int size)